Add ship image back to the embed, im dumb

This commit is contained in:
Luke Robles 2023-11-06 15:26:14 -08:00
parent b9ca190e30
commit 52714c5b3c

View File

@ -64,6 +64,7 @@ async def get_ship(ship_name):
)
ship_image = (soup.find("a", {"class": "mw-file-description"})).img["src"]
embed.set_image(url=ship_image)
ship_name_on_page = soup.find("span", {"class": "mw-page-title-main"}).text
try: