made coco guild only

This commit is contained in:
Seaswimmer 2023-03-02 00:00:35 -05:00
parent 8424adedb9
commit 07cf4a6122

View file

@ -29,6 +29,7 @@ class Galaxy(commands.Cog):
return return
@commands.group(autohelp=False) @commands.group(autohelp=False)
@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."""
cocotarget = await self.config.guild(ctx.guild).cocotarget() cocotarget = await self.config.guild(ctx.guild).cocotarget()