Embed a bigger image
This commit is contained in:
parent
a540045c58
commit
2a009d1113
@ -23,7 +23,11 @@ async def get_ship(ship_name):
|
|||||||
description="-------", color=discord.Color.blue(), type="rich"
|
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(
|
embed.set_thumbnail(
|
||||||
url="https://media.robertsspaceindustries.com/t0q21kbb3zrpt/source.png"
|
url="https://media.robertsspaceindustries.com/t0q21kbb3zrpt/source.png"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user