twitchio.ext.commands correction

This commit is contained in:
2025-11-17 17:39:38 +01:00
parent 4d360abd21
commit 31f7e00538

View File

@@ -1,6 +1,6 @@
from twitchio.ext import commands from twitchio.ext import commands
from twitchio.web import AiohttpAdapter from twitchio.web import AiohttpAdapter
from twitchio.models import Message as TwitchIOMessage from twitchio.ext.commands import Message as TwitchIOMessage
class TwitchBot(commands.Bot): 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): def __init__(self, access_token: str, client_id: str, client_secret: str, bot_id: str, channel_name: str, websocket_manager, db_user_id: int):