set persona tuple is no longer tuple
This commit is contained in:
1 parent
0f197addb0
commit
450e012934
1 file changed
+2
-1
+2
-1
@@ -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')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user