From c5c7b45bba95dc3a52f59e8e868fc6d67f6eba55 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 2 Mar 2023 13:32:56 -0500 Subject: [PATCH] made cocoreact better:tm: --- galaxy/galaxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index d557794..8ee553c 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -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()