made coco get the same as coco

This commit is contained in:
Seaswimmer 2023-03-02 13:34:08 -05:00
parent c5c7b45bba
commit ccf2d4c0a7

View file

@ -23,14 +23,10 @@ class Galaxy(commands.Cog):
return return
await message.add_reaction(emoji) await message.add_reaction(emoji)
@commands.group(autohelp=True) @commands.group(autohelp=False)
@commands.guild_only() @commands.guild_only()
async def coco(self, ctx): async def coco(self, ctx):
"""Checks who Coco is currently set to.""" """Checks who Coco is currently set to."""
@coco.command(name="get")
async def coco_get(self, ctx):
"""Checks who Coco is currently set to."""
cocotarget = await self.config.guild(ctx.guild).cocotarget() cocotarget = await self.config.guild(ctx.guild).cocotarget()
embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco is currently set to <@{cocotarget}> ({cocotarget}).") embed=discord.Embed(color=await self.bot.get_embed_color(None), description=f"Coco is currently set to <@{cocotarget}> ({cocotarget}).")
await ctx.send(embed=embed) await ctx.send(embed=embed)