correction ajout reaction en erreur

This commit is contained in:
Mylloon 2021-06-08 10:44:56 +02:00
parent adb79dd654
commit 19cb329436

View file

@ -35,7 +35,7 @@ async def on_ready():
async def on_command_error(ctx, error):
if not ctx.invoked_with.startswith(customPrefix):
print(error)
if "discord.errors.NotFound" in str(error) == False:
if ctx.message:
await ctx.message.add_reaction(emoji = '')
@client.event