From 4c1989fc3039f416ac7004be2ec04ef10678f25a Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Fri, 28 Apr 2023 09:47:31 -0700 Subject: [PATCH] Adding dividers + a link to teh wiki at the bottom of the embed for a ship --- app/star_citizen.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/star_citizen.py b/app/star_citizen.py index a0acb3bc..d45ef3b0 100644 --- a/app/star_citizen.py +++ b/app/star_citizen.py @@ -50,7 +50,7 @@ async def get_ship(ship_name): real_money_price = list(filter(lambda x: ("$" in x.text), children)) embed = discord.Embed( - description="-------", color=discord.Color.teal(), type="rich" + description="-------", color=discord.Color.blue(), type="rich" ) embed.set_thumbnail(url=ship_picture) embed.set_author(name="Star Citizen API Info about the %s" % ship["name"]) @@ -58,10 +58,15 @@ async def get_ship(ship_name): embed.add_field( name="**Pledge Price**", value=real_money_price[0].text, inline=True ) + embed.add_field(name="-------", value="", inline=False) embed.add_field(name="**Description**", value=ship["description"], inline=False) + embed.add_field(name="-------", value="", inline=False) embed.add_field( name="**Cargo Capacity**", value="%s SCU" % ship["cargocapacity"], inline=True ) embed.add_field(name="**Crew Size**", value=ship["max_crew"], inline=True) - + embed.add_field(name="-------", value="", inline=False) + embed.add_field( + name="**Link**", value="%s%s" % (wiki_url, wiki_ship_name), inline=False + ) return embed