adding a ✅ to original message of the remindme command
This commit is contained in:
parent
263674b11f
commit
d97c1b41b3
1 changed files with 4 additions and 0 deletions
|
@ -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>")
|
||||||
|
|
Reference in a new issue