fix(galaxy): hopefully fixed gank_won_let_us_flee
Some checks failed
Pylint / Pylint (3.11.2) (push) Failing after 8s

This commit is contained in:
Seaswimmer 2023-09-23 11:56:24 -04:00
parent 6c2b2b867f
commit b205ed6e27
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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')