added kwargs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user