Embed a bigger image
This commit is contained in:
parent
24d8d5fb80
commit
03f857379c
@ -23,7 +23,11 @@ async def get_ship(ship_name):
|
||||
description="-------", color=discord.Color.blue(), type="rich"
|
||||
)
|
||||
|
||||
ship_image = (soup.find("a", {"class": "mw-file-description"})).img["src"]
|
||||
ship_image = (
|
||||
(soup.find("a", {"class": "mw-file-description"}))
|
||||
.img["src"]
|
||||
.replace("400px", "1920px")
|
||||
)
|
||||
|
||||
embed.set_thumbnail(
|
||||
url="https://media.robertsspaceindustries.com/t0q21kbb3zrpt/source.png"
|
||||
|
Loading…
x
Reference in New Issue
Block a user