diff --git a/chat_listener.py b/chat_listener.py index 5d1c587..8102820 100644 --- a/chat_listener.py +++ b/chat_listener.py @@ -1,6 +1,6 @@ from twitchio.ext import commands from twitchio.web import AiohttpAdapter -from twitchio.models import Message as TwitchIOMessage +from twitchio.ext.commands import Message as TwitchIOMessage class TwitchBot(commands.Bot): def __init__(self, access_token: str, client_id: str, client_secret: str, bot_id: str, channel_name: str, websocket_manager, db_user_id: int):