diff --git a/chat_listener.py b/chat_listener.py index a63ce8a..4115dc1 100644 --- a/chat_listener.py +++ b/chat_listener.py @@ -23,7 +23,10 @@ class TwitchBot(commands.Bot): async def event_message(self, message): """Runs every time a message is sent in chat.""" if message.echo: - return # Ignore messages sent by the bot itself + # This is a message from the bot itself (the authenticated user). + # We'll log it for debugging but won't process it further. + print(f"Echo message from {message.author.name} in #{self.channel_name}: {message.content}") + return # For now, we just print the message to the console. # Later, this will push messages to a queue for the WebSocket.