diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 951c44c..e888bb8 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -23,10 +23,10 @@ jobs: with: fetch-depth: 0 # Fetch all history for proper versioning - - name: Set up Python 3.11 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.10' cache: 'pip' - name: Set up Node.js @@ -412,10 +412,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Python 3.11 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.10' cache: 'pip' - name: Set up Node.js diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 980e71a..796d923 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10'] steps: - name: Checkout code diff --git a/README.md b/README.md index 72c9d85..27c6b0e 100644 --- a/README.md +++ b/README.md @@ -225,14 +225,18 @@ chat-yapper/ ## Changelog -### v1.3.0 (Latest) +### v1.3.1 (Latest) - **New Features:** + - Twitch fix + - Allow random avatar assignment + - More fonts to select from + +### v1.3.0 (Latest) - Better control of avatar placement in Avatar Layout Editor - Select and Adjust speaking animations for crowd mode - Added idle animations for crowd mode ### v1.2.2 (Latest) -- **New Features:** - Quick status view - Limit concurrent TTS messages - Some more twitch fixes and improved notifcations diff --git a/backend/modules/twitch_listener.py b/backend/modules/twitch_listener.py index 95cb9f0..b15f57a 100644 --- a/backend/modules/twitch_listener.py +++ b/backend/modules/twitch_listener.py @@ -331,9 +331,15 @@ async def event_ready(self): who = getattr(self, "nick", None) or self._nick or "unknown" try: logger.info(f"Twitch bot ready as {who}, listening to {self.channel_name}") - # Join the channel to start receiving messages (required in TwitchIO 3.x) - await self.join_channels([self.channel_name]) - logger.info(f"Joined channel: {self.channel_name}") + + # In TwitchIO 3.x, channels from initial_channels should auto-join + # But we can verify by checking connected channels + if hasattr(self, 'connected_channels'): + logger.info(f"Connected channels: {list(self.connected_channels)}") + + # Log available methods for debugging + logger.debug(f"Bot methods: {[m for m in dir(self) if 'channel' in m.lower() or 'join' in m.lower()]}") + except Exception as e: logger.error(f"Error in event_ready: {e}", exc_info=True) diff --git a/requirements.txt b/requirements.txt index d46a49f..38673d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ python-multipart>=0.0.6 python-dotenv>=1.0.0 # TTS and audio -edge-tts==7.0.2 +edge-tts==7.2.7 mutagen>=1.45.0 # Streaming platforms