From 450e0129345dc824fb4050e9de8525b128bb897e Mon Sep 17 00:00:00 2001 From: esefxdz Date: Tue, 30 Jun 2026 12:32:14 +0300 Subject: [PATCH] set persona tuple is no longer tuple --- ai/ai_roleplay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ai/ai_roleplay.py b/ai/ai_roleplay.py index 0ec5edf..775be63 100644 --- a/ai/ai_roleplay.py +++ b/ai/ai_roleplay.py @@ -384,7 +384,8 @@ class AIRoleplay(commands.Cog): return await ctx.reply(f'couldnt find {name}. available: {avail}') self.active_personas[ctx.channel.id] = name.lower() - self.prompts.pop(ctx.channel.id, None) + for t in ('flash', 'pro'): + self.prompts.pop((ctx.channel.id, t), None) self.memory[ctx.channel.id].clear() await ctx.reply(f'switched to {name} and wiped memory')