From 9e8045fe739821fc5470f3a4c7e1822cd07906b6 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 30 Jul 2021 20:32:23 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20r=C3=A9action=20=E2=9C=85=20lors=20de?= =?UTF-8?q?=20l'ajout=20d'un=20reminder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cogs/reminder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cogs/reminder.py b/src/cogs/reminder.py index 984f95d..acb9f1e 100644 --- a/src/cogs/reminder.py +++ b/src/cogs/reminder.py @@ -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