added kwargs

This commit is contained in:
2025-11-17 18:24:15 +01:00
parent fdda47da7b
commit 2f0e817e12

View File

@@ -15,8 +15,9 @@ class TwitchBot(commands.Bot):
client_secret=client_secret,
# The 'bot_id' is the Twitch ID of the user account the bot is running as
bot_id=bot_id, id=bot_id,
# Explicitly disable the internal web server to prevent all port conflicts.
eventsub_url=None
# Force the internal webserver to a harmless, high port to permanently
# resolve the "address already in use" error during hot-reloads.
web_server_adapter_kwargs={'host': 'localhost', 'port': 8123}
)
self.channel_name = channel_name