fix: made coco not bot owner only
This commit is contained in:
parent
bbd0426d90
commit
f317234cec
1 changed files with 0 additions and 3 deletions
|
@ -76,7 +76,6 @@ class Galaxy(commands.Cog):
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@coco.command(name="emoji")
|
@coco.command(name="emoji")
|
||||||
@checks.is_owner()
|
|
||||||
async def coco_emoji_set(self, ctx, emoji: discord.Emoji = None):
|
async def coco_emoji_set(self, ctx, emoji: discord.Emoji = None):
|
||||||
"""Sets Coco's emoji."""
|
"""Sets Coco's emoji."""
|
||||||
if emoji:
|
if emoji:
|
||||||
|
@ -90,7 +89,6 @@ class Galaxy(commands.Cog):
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@coco.command(name="set")
|
@coco.command(name="set")
|
||||||
@checks.is_owner()
|
|
||||||
async def coco_set(self, ctx, member: discord.Member):
|
async def coco_set(self, ctx, member: discord.Member):
|
||||||
"""Sets Coco's target."""
|
"""Sets Coco's target."""
|
||||||
if member:
|
if member:
|
||||||
|
@ -101,7 +99,6 @@ class Galaxy(commands.Cog):
|
||||||
await ctx.send(content="That is not a valid argument!")
|
await ctx.send(content="That is not a valid argument!")
|
||||||
|
|
||||||
@coco.command(name="reset")
|
@coco.command(name="reset")
|
||||||
@checks.is_owner()
|
|
||||||
async def coco_reset(self, ctx):
|
async def coco_reset(self, ctx):
|
||||||
"""Resets Coco's target."""
|
"""Resets Coco's target."""
|
||||||
await self.config.guild(ctx.guild).cocotarget.set(0)
|
await self.config.guild(ctx.guild).cocotarget.set(0)
|
||||||
|
|
Loading…
Reference in a new issue