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

This commit is contained in:
Seaswimmer 2023-09-23 11:45:59 -04:00
parent 23aa749b6c
commit 6c2b2b867f
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): 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: if message.guild.id == 204965774618656769 and message.channel.id == 753714180900519937 and message.author.id == 745790085789909033:
embeds = message.embeds embeds = message.embeds
if len(embeds) == 1 and embeds[0].color == '#57f288': if len(embeds) == 1 and embeds[0].color == '#57f287':
await message.reply("https://media.discordapp.net/attachments/409210244619698176/1115473811819737149/attachment.gif") await message.reply("https://media.discordapp.net/attachments/409210244619698176/1115473811819737149/attachment.gif")
@commands.Cog.listener('on_message') @commands.Cog.listener('on_message')