Fix key deletion
This commit is contained in:
parent
cbc07dfa84
commit
2f2aa20ed6
1 changed files with 2 additions and 2 deletions
|
@ -705,5 +705,5 @@ class Jarvis(Client):
|
||||||
await context.message.edit(components=context.message.components)
|
await context.message.edit(components=context.message.components)
|
||||||
msg = "Cancelled" if context.custom_id == "modcase|no" else "Moderation case opened"
|
msg = "Cancelled" if context.custom_id == "modcase|no" else "Moderation case opened"
|
||||||
await context.send(msg)
|
await context.send(msg)
|
||||||
await self.bot.redis.delete(user_key)
|
await self.redis.delete(user_key)
|
||||||
await self.bot.redis.delete(action_key)
|
await self.redis.delete(action_key)
|
||||||
|
|
Loading…
Add table
Reference in a new issue