Skip to content

Commit d2a1ba9

Browse files
pladisdevCopilotCopilot
authored
Development (#35)
* pop up mode and chat buble toggle * potential audio fix * linux sh and better docker support * fixed linux build? * linux fix part 2 * docker fix part 1 * Initial plan * Initial plan * Initial plan * Initial plan * Initial plan * Initial plan * Initial plan * Update frontend/src/pages/YappersPage.jsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Initial plan * Update frontend/src/pages/YappersPage.jsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Replace sys.platform with platform.system() for OS detection Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * Fix race condition in popup avatar lifecycle Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * Extract magic numbers to named constants for better readability Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * Extract magic number -2.5px into avatarActiveOffset setting Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * Fix audio cleanup in popup mode when play() fails Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * Extract hex opacity calculation to utility function Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * Fix audio error handlers to clean up tracking references Co-authored-by: pladisdev <127021507+pladisdev@users.noreply.github.com> * update flow for builds * better build and release file * workflow fix * build fix * usernames in chat bubbles * twitch authentifcation * tts limit * notifcation that user needs to click page, quick status * update readme, version * emergency twitch fix * yep * dang * better twitch logging * animations and avatar layout editor * fix spin animation * twitch fix part 2 * twitch fix, better fonts, cleanup * fixed imports * fixed things * undefined fix * twitch test fix * another mock fix * another fix for twitch creds tests * better logging * twitch fixes? * another twitch fix * fix twitch io 3.x --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e44cc14 commit d2a1ba9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

backend/modules/twitch_listener.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,11 @@ async def event_ready(self):
331331
who = getattr(self, "nick", None) or self._nick or "unknown"
332332
try:
333333
logger.info(f"Twitch bot ready as {who}, listening to {self.channel_name}")
334-
except Exception:
335-
pass
334+
# Join the channel to start receiving messages (required in TwitchIO 3.x)
335+
await self.join_channels([self.channel_name])
336+
logger.info(f"Joined channel: {self.channel_name}")
337+
except Exception as e:
338+
logger.error(f"Error in event_ready: {e}", exc_info=True)
336339

337340
async def event_error(self, error, data=None):
338341
try:

0 commit comments

Comments
 (0)