From 9341554040837698d957f71265d09ceca282709f Mon Sep 17 00:00:00 2001 From: stijndcl Date: Sun, 13 Mar 2022 13:32:54 +0100 Subject: [PATCH] Ignore spammy error that i can't do anything about --- cogs/events.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogs/events.py b/cogs/events.py index 284acd8..69a10bd 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -150,6 +150,9 @@ class Events(commands.Cog): if isinstance(err, commands.CheckFailure): return await ctx.respond("Je hebt geen toegang tot dit commando.", ephemeral=True) + elif isinstance(err, discord.NotFound): + print("Don't care") + return usage = stringFormatters.format_slash_command_usage(ctx.interaction) await self.sendErrorEmbed(err, "Slash Command", usage)