added reset functionality to -coco emoji
This commit is contained in:
parent
5f385d6584
commit
a5982a8e8c
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ class Galaxy(commands.Cog):
|
||||||
embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco's emoji has been set to {emoji} ({emoji.id}).")
|
embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco's emoji has been set to {emoji} ({emoji.id}).")
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
else:
|
else:
|
||||||
await ctx.send(content="That is not a valid argument!")
|
await self.config.guild(ctx.guild).cocotarget.set(1028535684757209118)
|
||||||
|
embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco's emoji has been set to {emoji} (1028535684757209118).")
|
||||||
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@coco.command(name="set")
|
@coco.command(name="set")
|
||||||
@checks.is_owner()
|
@checks.is_owner()
|
||||||
|
|
Loading…
Reference in a new issue