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