diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index fc752a9de..775a07b03 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -500,7 +500,10 @@ class Core(commands.Cog, CoreLogic): try: await self.bot.wait_for("message", check=pred, timeout=15) except asyncio.TimeoutError: - await query.delete() + try: + await query.delete() + except discord.errors.NotFound: + pass else: await self.leave_confirmation(guilds[pred.result], ctx)