From 5c3f1ff3fad96e7a85db2b0810f49a858130da7f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 2 Mar 2023 13:27:07 -0500 Subject: [PATCH] fixed coco I think --- galaxy/galaxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 63488a2..d557794 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -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: