inversion pour l'affichage des erreurs en cas de suppression du message de la commande
This commit is contained in:
parent
3700653cf5
commit
2735db1ec7
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -83,8 +83,8 @@ async def on_raw_reaction_remove(payload):
|
||||||
@client.event
|
@client.event
|
||||||
async def on_command_error(ctx, error):
|
async def on_command_error(ctx, error):
|
||||||
if not ctx.invoked_with.startswith('.'):
|
if not ctx.invoked_with.startswith('.'):
|
||||||
await ctx.message.add_reaction(emoji = '❓')
|
|
||||||
print(error)
|
print(error)
|
||||||
|
await ctx.message.add_reaction(emoji = '❓')
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
|
|
Reference in a new issue