diff --git a/src/modules/stream_notifications/messages_proc.py b/src/modules/stream_notifications/messages_proc.py index 71fc854..05a6cbe 100644 --- a/src/modules/stream_notifications/messages_proc.py +++ b/src/modules/stream_notifications/messages_proc.py @@ -142,6 +142,8 @@ class MessagesProc: ) if event.message.text.lower().startswith("!ai"): + twitch = await authorize() + try: completion = await get_completion(event.message.text)