fix(bot): 🐛 Flush all calls messages on shutdown.

This commit is contained in:
Nyeki.py
2024-10-22 18:49:45 -03:00
parent 57531bc915
commit d312ea260e
+1 -1
View File
@@ -300,7 +300,7 @@ class Mods(base.Cog):
if call_ids:
await redis.sadd(constants.CALL_IDS_TO_FLUSH, *call_ids)
await self.bot.get_cog("Calls").flush_messages()
await self.bot.get_cog("Calls").flush_messages(True)
await tortoise.Tortoise.close_connections()