FEAT: Added Twitch Live Alerts

REF: Changed Twitch module to use the DB
This commit is contained in:
Dan
2024-06-21 20:30:41 -04:00
parent 81f4981646
commit f6526e00e3
2 changed files with 118 additions and 1 deletions

View File

@ -22,6 +22,14 @@ def initialize_db():
)
''')
# Followed channels table
cursor.execute('''
CREATE TABLE IF NOT EXISTS followed_channels (
twitch_name TEXT PRIMARY KEY,
discord_channel_id INTEGER
)
''')
conn.commit()
conn.close()