diff --git a/docs/conf.py b/docs/conf.py index 10f566cc..fbe11f6b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ on_rtd = os.environ.get("READTHEDOCS") == "True" project = "TwitchIO" -copyright = "2023, TwitchIO" +copyright = "2024, TwitchIO" author = "PythonistaGuild" # The full version, including alpha/beta/rc tags diff --git a/twitchio/__init__.py b/twitchio/__init__.py index 699f347a..30fe92e2 100644 --- a/twitchio/__init__.py +++ b/twitchio/__init__.py @@ -27,8 +27,8 @@ __title__ = "TwitchIO" __author__ = "TwitchIO, PythonistaGuild" __license__ = "MIT" -__copyright__ = "Copyright 2017-2022 (c) TwitchIO" -__version__ = "2.8.2" +__copyright__ = "Copyright 2017-present (c) TwitchIO" +__version__ = "2.9.1" from .client import Client from .user import * diff --git a/twitchio/ext/eventsub/websocket.py b/twitchio/ext/eventsub/websocket.py index cc0ce219..a4309729 100644 --- a/twitchio/ext/eventsub/websocket.py +++ b/twitchio/ext/eventsub/websocket.py @@ -212,7 +212,7 @@ async def pump(self) -> None: except TypeError as e: logger.warning(f"Received bad frame: {e.args[0]}") - if e.args[0] is None: # websocket was closed, reconnect + if "257" in e.args[0]: # websocket was closed, reconnect logger.info("Known bad frame, restarting connection") await self.connect() return