From 11c0abbf723b3164cef8a897d9916b3c488f9dd8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 16 Aug 2021 20:03:50 +0200 Subject: [PATCH] coherent ID and new emoji --- src/utils/core.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/utils/core.py b/src/utils/core.py index 7b45de3..b39ac26 100644 --- a/src/utils/core.py +++ b/src/utils/core.py @@ -216,10 +216,11 @@ def multipleArgsToTuple(frame): return tuple(args) 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 = { - 1: "✅", # command oui + 0: "✅", # command oui + 1: "❓", # command erreur 2: "❌", # command non - 3: "❓" # command erreur + 3: "😕" # command mitigée } return await message.add_reaction(emoji = types[type])