quick change to -coco emoji

This commit is contained in:
Seaswimmer 2023-03-02 13:56:51 -05:00
parent a5982a8e8c
commit af2f999368

View file

@ -35,7 +35,7 @@ class Galaxy(commands.Cog):
@coco.command(name="emoji") @coco.command(name="emoji")
@checks.is_owner() @checks.is_owner()
async def coco_emoji_set(self, ctx, emoji: discord.Emoji): async def coco_emoji_set(self, ctx, emoji: discord.Emoji = None):
"""Sets Coco's emoji.""" """Sets Coco's emoji."""
if emoji: if emoji:
await self.config.guild(ctx.guild).cocotarget.set(emoji.id) await self.config.guild(ctx.guild).cocotarget.set(emoji.id)