diff --git a/src/main.py b/src/main.py index a4d246f..cd2539e 100644 --- a/src/main.py +++ b/src/main.py @@ -36,7 +36,8 @@ async def on_ready(): async def on_command_error(ctx, error): if not ctx.invoked_with.startswith(customPrefix): print(error) - await ctx.message.add_reaction(emoji = '❓') + if "discord.errors.NotFound" in str(error) == False: + await ctx.message.add_reaction(emoji = '❓') @client.event async def on_message(message):