diff --git a/src/utils/core.py b/src/utils/core.py index faa6fac..a6fb3ed 100644 --- a/src/utils/core.py +++ b/src/utils/core.py @@ -214,3 +214,12 @@ def multipleArgsToTuple(frame): if arg: args.append(arg) return tuple(args) + +async def addReaction(message, type: int): + """Ajoute une réaction au message - 3 types dispo : 1: ✅ | 2: ❌ | 3: ❓""" + types = { + 1: "✅", + 2: "❌", + 3: "❓" + } + return await message.add_reaction(emoji = types[type])