sending hidden message if possible when deleting a reminder

This commit is contained in:
Mylloon 2021-08-01 20:51:08 +02:00
parent 4c4d0fe138
commit 6483358978

View file

@ -195,7 +195,7 @@ class ReminderDiscord(commands.Cog):
Reminder().suppressionReminder(id)
if fromSlash != True:
await ctx.message.add_reaction(emoji = '')
return await ctx.send(f"Reminder **#{id}** supprimé !")
return await mySendHidden(ctx, fromSlash, f"Reminder **#{id}** supprimé !")
else:
if fromSlash != True:
await ctx.message.add_reaction(emoji = '')