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
|
await addReaction(ctx.message, 1) # ajout réaction
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
await addReaction(ctx.message, 2) # ajout réaction
|
||||||
raise error
|
raise error
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
|
|
Reference in a new issue