Add ship image back to the embed, im dumb
This commit is contained in:
parent
c7ff793ead
commit
a44f3dd5d4
@ -64,6 +64,7 @@ async def get_ship(ship_name):
|
|||||||
)
|
)
|
||||||
|
|
||||||
ship_image = (soup.find("a", {"class": "mw-file-description"})).img["src"]
|
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
|
ship_name_on_page = soup.find("span", {"class": "mw-page-title-main"}).text
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user