stonks logo for stock embed
This commit is contained in:
parent
c62f322bbc
commit
dcb6d00578
@ -27,6 +27,7 @@ def get_stock(share_name):
|
|||||||
embed_color = 15158332
|
embed_color = 15158332
|
||||||
|
|
||||||
embed = discord.Embed(description='Stock info', color=embed_color, type="rich")
|
embed = discord.Embed(description='Stock info', color=embed_color, type="rich")
|
||||||
|
embed.set_thumbnail(url='https://i.ytimg.com/vi/if-2M3K1tqk/hqdefault.jpg')
|
||||||
embed.set_author(name=request['name'])
|
embed.set_author(name=request['name'])
|
||||||
embed.add_field(name='Current Price', value=request['price'], inline=False)
|
embed.add_field(name='Current Price', value=request['price'], inline=False)
|
||||||
embed.add_field(name='Previous Close', value=request['previousClose'], inline=False)
|
embed.add_field(name='Previous Close', value=request['previousClose'], inline=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user