fix reaction

This commit is contained in:
Mylloon 2021-08-22 04:16:04 +02:00
parent fb327917f7
commit 477dfd0af9

View file

@ -46,7 +46,7 @@ class ReminderDiscord(commands.Cog, name="Reminder"):
except:
sourceMessage = None # message a été supprimé
if sourceMessage != True:
await addReaction(sourceMessage.message, 0) # ajout réaction
await addReaction(sourceMessage, 0) # ajout réaction
finalEmbed.set_footer(text=f"Message d'il y a {timedeltaToString(int(nowUTC()) - expired[3])}")
links = ""
findedURLs = getURLsInString(reminder)