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)
|
||||
|
||||
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 = {
|
||||
1: "✅",
|
||||
2: "❌",
|
||||
3: "❓"
|
||||
1: "✅", # command oui
|
||||
2: "❌", # command non
|
||||
3: "❓" # command erreur
|
||||
}
|
||||
return await message.add_reaction(emoji = types[type])
|
||||
|
|
Reference in a new issue