adding a to original message of the remindme command

This commit is contained in:
Mylloon 2021-05-13 09:11:09 +02:00
parent 263674b11f
commit d97c1b41b3

View file

@ -449,6 +449,10 @@ class Utils(commands.Cog):
mentionList = self._getMentionInString(reminder) mentionList = self._getMentionInString(reminder)
for i in mentionList: for i in mentionList:
message += f" {i}" message += f" {i}"
try:
await ctx.message.add_reaction(emoji = '')
except:
pass
return await ctx.send(message, embed = discord.Embed(description = self._cleanCodeStringWithMention(reminder), timestamp = timestamp, color = discord.Colour.random()).set_footer(text=f"Message d'il y a {counter}")) return await ctx.send(message, embed = discord.Embed(description = self._cleanCodeStringWithMention(reminder), timestamp = timestamp, color = discord.Colour.random()).set_footer(text=f"Message d'il y a {counter}"))
else: else:
embed.add_field(name="Attention", value="Mauvaise syntaxe : reminder <temps> <message>") embed.add_field(name="Attention", value="Mauvaise syntaxe : reminder <temps> <message>")