lets see if this changes anything (i doubt it)

This commit is contained in:
Seaswimmer 2023-03-02 00:09:59 -05:00
parent f9f5e3fd50
commit 6ea7d180ba

View file

@ -12,10 +12,6 @@ class Galaxy(commands.Cog):
guild_default = { guild_default = {
"cocotarget": 0 "cocotarget": 0
} }
global_default = {
"cocotarget": 0
}
self.config.register_guild(**global_default)
self.config.register_guild(**guild_default) self.config.register_guild(**guild_default)
@commands.Cog.listener('on_message') @commands.Cog.listener('on_message')
@ -37,7 +33,7 @@ class Galaxy(commands.Cog):
async def coco_get(self, ctx): async def coco_get(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()
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}).")
ctx.send(embed=embed) ctx.send(embed=embed)
@coco.command(name="set") @coco.command(name="set")