added reset functionality to -coco emoji

This commit is contained in:
Seaswimmer 2023-03-02 13:55:51 -05:00
parent 5f385d6584
commit a5982a8e8c

View file

@ -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()