Migrated restart_command #42

This commit is contained in:
2022-10-02 01:11:54 +02:00
parent a8b6989d27
commit a4dc66396e
2 changed files with 2 additions and 3 deletions

View File

@@ -104,8 +104,7 @@ class MessageService(MessageServiceABC):
await asyncio.sleep(wait_before_delete)
if is_persistent:
await self.delete_message(ctx.message, without_tracking)
return
if ctx.guild is not None:
await self.delete_messages(List(discord.Message, [msg, ctx.message]), ctx.guild.id)
await self.delete_message(msg)