fixed coco I think
This commit is contained in:
parent
fb55bb1268
commit
5c3f1ff3fa
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue