Switch to new plugin framework.

This commit is contained in:
2025-09-03 20:35:35 +10:00
parent e3bdebe221
commit 749f2a021c
28 changed files with 228 additions and 2179 deletions

View File

@@ -1,2 +1,22 @@
from twitchio import Scopes
CONFIG_FILE = 'config/bot.conf'
DATA_VERSION = 1
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,
))