FEAT: Added XP System, need to test and adjust it

REF: Adjusted the Twitch Module to be on a 5 minute cooldown
DOC: Adjusted related code for the new XP system in db and config
This commit is contained in:
Dan
2024-06-21 22:14:26 -04:00
parent cc8a1ea630
commit 4d9214e378
4 changed files with 92 additions and 1 deletions

View File

@ -41,6 +41,13 @@ def initialize_db():
last_video_id TEXT
)
''')
cursor.execute('''
CREATE TABLE IF NOT EXISTS user_xp (
user_id INTEGER PRIMARY KEY,
xp INTEGER,
level INTEGER
)
''')
conn.commit()
conn.close()