From b205ed6e27badbe8a8913f01c2adbdea700d3291 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 23 Sep 2023 11:56:24 -0400 Subject: [PATCH] fix(galaxy): hopefully fixed gank_won_let_us_flee --- galaxy/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 4198cee..92440a6 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -40,7 +40,7 @@ class Galaxy(commands.Cog): async def gank_won_let_us_flee(self, message: discord.Message): if message.guild.id == 204965774618656769 and message.channel.id == 753714180900519937 and message.author.id == 745790085789909033: embeds = message.embeds - if len(embeds) == 1 and embeds[0].color == '#57f287': + if len(embeds) == 1 and str(embeds[0].color) == '#57f287': await message.reply("https://media.discordapp.net/attachments/409210244619698176/1115473811819737149/attachment.gif") @commands.Cog.listener('on_message')