coherent ID and new emoji
This commit is contained in:
parent
b537453ae9
commit
11c0abbf72
1 changed files with 4 additions and 3 deletions
|
@ -216,10 +216,11 @@ 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: ✅ (oui) | 2: ❌ (non) | 3: ❓ (erreur)"""
|
"""Ajoute une réaction au message - 3 types dispo : 0: ✅ (oui) | 1: ❓ (erreur) | 2: ❌ (non) | 3: 😕 (mitigée)"""
|
||||||
types = {
|
types = {
|
||||||
1: "✅", # command oui
|
0: "✅", # command oui
|
||||||
|
1: "❓", # command erreur
|
||||||
2: "❌", # command non
|
2: "❌", # command non
|
||||||
3: "❓" # command erreur
|
3: "😕" # command mitigée
|
||||||
}
|
}
|
||||||
return await message.add_reaction(emoji = types[type])
|
return await message.add_reaction(emoji = types[type])
|
||||||
|
|
Reference in a new issue