made cocoreact better™️
This commit is contained in:
parent
5c3f1ff3fa
commit
c5c7b45bba
1 changed files with 2 additions and 1 deletions
|
@ -15,12 +15,13 @@ class Galaxy(commands.Cog):
|
|||
|
||||
@commands.Cog.listener('on_message')
|
||||
async def cocoreact(self, message):
|
||||
emoji = self.bot.get_emoji(1028535684757209118)
|
||||
cocotarget = await self.config.guild(message.guild).cocotarget()
|
||||
if cocotarget == 0:
|
||||
return
|
||||
if not message.author.id == cocotarget:
|
||||
return
|
||||
await message.add_reaction(emoji="<:coco:1028535684757209118>")
|
||||
await message.add_reaction(emoji)
|
||||
|
||||
@commands.group(autohelp=True)
|
||||
@commands.guild_only()
|
||||
|
|
Loading…
Reference in a new issue