Make ingame price for ships clickable and take you to the buy section of the wiki

This commit is contained in:
Luke Robles 2023-05-17 08:20:28 -07:00
parent ba3a90d56c
commit f7f3411777

View File

@ -76,7 +76,11 @@ async def get_ship(ship_name):
# if not len(ingame_price): # if not len(ingame_price):
# ingame_price = "No in-game price available" # 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: try:
pledge_price = ( pledge_price = (