From 2735db1ec7fac1cd31e76b49b4135f644c849e30 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 23 Dec 2020 01:37:12 +0100 Subject: [PATCH] inversion pour l'affichage des erreurs en cas de suppression du message de la commande --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1195299..df96816 100644 --- a/main.py +++ b/main.py @@ -83,8 +83,8 @@ async def on_raw_reaction_remove(payload): @client.event async def on_command_error(ctx, error): if not ctx.invoked_with.startswith('.'): - await ctx.message.add_reaction(emoji = '❓') print(error) + await ctx.message.add_reaction(emoji = '❓') @client.event async def on_message(message):