Ignore spammy error that i can't do anything about

This commit is contained in:
stijndcl 2022-03-13 13:32:54 +01:00
parent 0f973efe29
commit 9341554040

View file

@ -150,6 +150,9 @@ class Events(commands.Cog):
if isinstance(err, commands.CheckFailure): if isinstance(err, commands.CheckFailure):
return await ctx.respond("Je hebt geen toegang tot dit commando.", ephemeral=True) 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) usage = stringFormatters.format_slash_command_usage(ctx.interaction)
await self.sendErrorEmbed(err, "Slash Command", usage) await self.sendErrorEmbed(err, "Slash Command", usage)