Move Twitch adapter configuration.

This commit is contained in:
2025-09-03 22:44:52 +10:00
parent e473de3b4b
commit df0c6451fc
4 changed files with 31 additions and 13 deletions

View File

@@ -29,10 +29,7 @@ class Bot(commands.Bot):
super().__init__(*args, **kwargs)
# Whether we should do eventsub via webhooks or websockets
if config.bot.get('eventsub_secret', None):
self.using_webhooks = True
else:
self.using_webhooks = False
self.using_webhooks = kwargs.get('using_webhooks', False)
self.config = config
self.dbconn = dbconn