From bdd86746456e59a4370ac5a858e8ceb263a2eb70 Mon Sep 17 00:00:00 2001 From: ramforth Date: Mon, 17 Nov 2025 18:34:15 +0100 Subject: [PATCH] New eventsub --- chat_listener.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chat_listener.py b/chat_listener.py index 2246352..475a3b8 100644 --- a/chat_listener.py +++ b/chat_listener.py @@ -21,13 +21,14 @@ class TwitchBot(commands.Bot): super().__init__( token=access_token, web_server_adapter=adapter, + eventsub_url=None, # Explicitly disable EventSub prefix='!', # A prefix is required but won't be used for reading chat initial_channels=[channel_name], - # These are now required by twitchio + # These are required by twitchio for authentication client_id=client_id, 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 + id=bot_id ) self.channel_name = channel_name