add comment

This commit is contained in:
Mylloon 2021-08-16 19:48:31 +02:00
parent 4cfa321a53
commit b537453ae9

View file

@ -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])