fix(galaxy): fixed the gank_won_let_us_flee method erroring every time the bot is dmed
All checks were successful
Pylint / Pylint (push) Successful in 1m11s

This commit is contained in:
Seaswimmer 2023-10-04 16:52:22 -04:00
parent 7aaabfa14c
commit 645de0abd8
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -39,7 +39,7 @@ class Galaxy(commands.Cog):
@commands.Cog.listener('on_message') @commands.Cog.listener('on_message')
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.author.id == 745790085789909033 and message.guild.id == 204965774618656769 and message.channel.id == 753714180900519937:
gank_media_list = [ gank_media_list = [
"https://cdn.discordapp.com/attachments/1070838419212738621/1155174309711577138/gank_won_let_us_flee.gif", "https://cdn.discordapp.com/attachments/1070838419212738621/1155174309711577138/gank_won_let_us_flee.gif",
"https://cdn.discordapp.com/attachments/1070838419212738621/1155174310093262951/spin_back_I_dare_you.jpg", "https://cdn.discordapp.com/attachments/1070838419212738621/1155174310093262951/spin_back_I_dare_you.jpg",