fixed coco I think

This commit is contained in:
Seaswimmer 2023-03-02 13:27:07 -05:00
parent fb55bb1268
commit 5c3f1ff3fa

View file

@ -14,8 +14,8 @@ class Galaxy(commands.Cog):
)
@commands.Cog.listener('on_message')
async def cocoreact(self, ctx, message):
cocotarget = await self.config.guild(ctx.guild).cocotarget()
async def cocoreact(self, message):
cocotarget = await self.config.guild(message.guild).cocotarget()
if cocotarget == 0:
return
if not message.author.id == cocotarget: