Initial Template

This commit is contained in:
2025-08-01 00:05:48 +10:00
commit 7457ae6ac1
19 changed files with 1293 additions and 0 deletions

22
src/constants.py Normal file
View File

@@ -0,0 +1,22 @@
from twitchio import Scopes
CONFIG_FILE = 'config/bot.conf'
SCHEMA_VERSIONS = {
'ROOT': 1,
'TWITCH_AUTH': 1
}
# Requested scopes for the bots own twitch user
BOTUSER_SCOPES = Scopes((
Scopes.user_read_chat,
Scopes.user_write_chat,
Scopes.user_bot,
Scopes.channel_bot,
))
# Default requested scopes for joining a channel
CHANNEL_SCOPES = Scopes((
Scopes.channel_bot,
))