diff --git a/cogs/utils/messages.py b/cogs/utils/messages.py index 36321cc..ff7b7ec 100644 --- a/cogs/utils/messages.py +++ b/cogs/utils/messages.py @@ -113,4 +113,7 @@ def check(message): if cleanup: await asyncio.sleep(constants.SPAM_DELAY) - await self.channel.purge(limit=999, check=check) + try: + await self.channel.purge(limit=999, check=check) + except: + pass