Update database schema and event handlers for user and guild information

This commit is contained in:
arthur
2024-06-21 16:40:31 +02:00
parent 9f2910b598
commit 115c262202
6 changed files with 216 additions and 7 deletions
-2
View File
@@ -11,9 +11,7 @@ db.run(`CREATE TABLE IF NOT EXISTS config (
db.run(`CREATE TABLE IF NOT EXISTS users (
guildId TEXT,
guildName TEXT,
userId TEXT,
userName TEXT,
pocket INTEGER DEFAULT 0,
bank INTEGER DEFAULT 0,
reputation INTEGER DEFAULT 0,