Add ship image back to the embed, im dumb
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Robles 2023-11-06 15:26:14 -08:00
parent 66e7768805
commit cc9570a9e5

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: