ajout emoji quand une erreur survient
This commit is contained in:
parent
51f270dafb
commit
df858f407d
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ async def on_command_error(ctx, error):
|
|||
await addReaction(ctx.message, 1) # ajout réaction
|
||||
return
|
||||
else:
|
||||
await addReaction(ctx.message, 2) # ajout réaction
|
||||
raise error
|
||||
|
||||
@client.event
|
||||
|
|
Reference in a new issue