From f7f3411777dbc6e98663abd7be97f15ce8bf080d Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 17 May 2023 08:20:28 -0700 Subject: [PATCH] Make ingame price for ships clickable and take you to the buy section of the wiki --- app/star_citizen.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/star_citizen.py b/app/star_citizen.py index 2d7d4ab6..91f21dfc 100644 --- a/app/star_citizen.py +++ b/app/star_citizen.py @@ -76,7 +76,11 @@ async def get_ship(ship_name): # if not len(ingame_price): # ingame_price = "No in-game price available" - embed.add_field(name="**Ingame Price**", value=ingame_price, inline=True) + embed.add_field( + name="**Ingame Price**", + value="[%s](%s%s#Buying)" % (ingame_price, wiki_url, wiki_ship_name), + inline=True, + ) try: pledge_price = (