fix reaction
This commit is contained in:
parent
c4a16bfbd8
commit
8b06702556
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class ReminderDiscord(commands.Cog, name="Reminder"):
|
|||
sourceMessage = await channel.fetch_message(sourceMessage) # récupération message
|
||||
except:
|
||||
sourceMessage = None # message a été supprimé
|
||||
if sourceMessage != None:
|
||||
if sourceMessage != True:
|
||||
await addReaction(sourceMessage.message, 0) # ajout réaction
|
||||
finalEmbed.set_footer(text=f"Message d'il y a {timedeltaToString(int(nowUTC()) - expired[3])}")
|
||||
links = ""
|
||||
|
|
Reference in a new issue