From 4e064ad89b9984ab6e5fffc3657b52a02c0480f1 Mon Sep 17 00:00:00 2001 From: koko210Serve Date: Thu, 30 Apr 2026 15:10:13 +0300 Subject: [PATCH] fix: import is_persona_dialogue_active from correct module Was importing from utils.bipolar_mode instead of utils.persona_dialogue --- bot/bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/bot.py b/bot/bot.py index 960d93b..4634c0d 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -207,9 +207,8 @@ async def on_message(message): # AND roll for random argument trigger (both non-blocking background tasks) if not isinstance(message.channel, discord.DMChannel) and globals.BIPOLAR_MODE: try: - from utils.persona_dialogue import check_for_interjection + from utils.persona_dialogue import check_for_interjection, is_persona_dialogue_active as dialogue_active from utils.bipolar_mode import maybe_trigger_argument, is_argument_in_progress as arg_in_progress - from utils.bipolar_mode import is_persona_dialogue_active as dialogue_active from utils.task_tracker import create_tracked_task # Check interjection on user messages (opposite of current active persona)