add comment
This commit is contained in:
parent
4cfa321a53
commit
b537453ae9
1 changed files with 4 additions and 4 deletions
|
@ -216,10 +216,10 @@ def multipleArgsToTuple(frame):
|
||||||
return tuple(args)
|
return tuple(args)
|
||||||
|
|
||||||
async def addReaction(message, type: int):
|
async def addReaction(message, type: int):
|
||||||
"""Ajoute une réaction au message - 3 types dispo : 1: ✅ | 2: ❌ | 3: ❓"""
|
"""Ajoute une réaction au message - 3 types dispo : 1: ✅ (oui) | 2: ❌ (non) | 3: ❓ (erreur)"""
|
||||||
types = {
|
types = {
|
||||||
1: "✅",
|
1: "✅", # command oui
|
||||||
2: "❌",
|
2: "❌", # command non
|
||||||
3: "❓"
|
3: "❓" # command erreur
|
||||||
}
|
}
|
||||||
return await message.add_reaction(emoji = types[type])
|
return await message.add_reaction(emoji = types[type])
|
||||||
|
|
Reference in a new issue