fix: made coco not bot owner only

This commit is contained in:
Seaswimmer 2023-07-30 09:34:22 -04:00
parent bbd0426d90
commit f317234cec
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -76,7 +76,6 @@ class Galaxy(commands.Cog):
await ctx.send(embed=embed)
@coco.command(name="emoji")
@checks.is_owner()
async def coco_emoji_set(self, ctx, emoji: discord.Emoji = None):
"""Sets Coco's emoji."""
if emoji:
@ -90,7 +89,6 @@ class Galaxy(commands.Cog):
await ctx.send(embed=embed)
@coco.command(name="set")
@checks.is_owner()
async def coco_set(self, ctx, member: discord.Member):
"""Sets Coco's target."""
if member:
@ -101,7 +99,6 @@ class Galaxy(commands.Cog):
await ctx.send(content="That is not a valid argument!")
@coco.command(name="reset")
@checks.is_owner()
async def coco_reset(self, ctx):
"""Resets Coco's target."""
await self.config.guild(ctx.guild).cocotarget.set(0)