ajout réaction lors de l'ajout d'un reminder

This commit is contained in:
Mylloon 2021-07-30 20:32:23 +02:00
parent a7b1defaad
commit 9e8045fe73

View file

@ -115,6 +115,8 @@ class ReminderDiscord(commands.Cog):
if fromSlash != True:
messageID = ctx.message.id
reminderID = Reminder().ajoutReminder(messageID, ctx.channel.id, extrarg, reminder, now, now + seconds, ctx.author.id, guildID)
if fromSlash != True:
await ctx.message.add_reaction(emoji = '')
return await mySendHidden(ctx, fromSlash, f"Ton reminder **`#{reminderID[0][0]}`** est enrengistré, je te notifie {destination} dans {timedeltaToString(seconds)}{'' if seconds >= 3600 else ' (avec 1m de retard maximum)'}.")
await mySendHidden(ctx, fromSlash, embed = embed)
@_reminder.error