set persona tuple is no longer tuple

This commit is contained in:
esef committed 2026-06-30 12:32:14 +03:00
1 parent 0f197addb0
commit 450e012934
1 file changed
+2 -1
+2 -1
View File
@@ -384,7 +384,8 @@ class AIRoleplay(commands.Cog):
return await ctx.reply(f'couldnt find {name}. available: {avail}') return await ctx.reply(f'couldnt find {name}. available: {avail}')
self.active_personas[ctx.channel.id] = name.lower() 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() self.memory[ctx.channel.id].clear()
await ctx.reply(f'switched to {name} and wiped memory') await ctx.reply(f'switched to {name} and wiped memory')