fix(bot): 🐛 Flush all calls messages on shutdown.
This commit is contained in:
@@ -300,7 +300,7 @@ class Mods(base.Cog):
|
|||||||
if call_ids:
|
if call_ids:
|
||||||
await redis.sadd(constants.CALL_IDS_TO_FLUSH, *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()
|
await tortoise.Tortoise.close_connections()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user