stonks logo for stock embed

This commit is contained in:
Luke Robles 2020-09-16 09:56:57 -07:00
parent c62f322bbc
commit dcb6d00578

View File

@ -27,6 +27,7 @@ def get_stock(share_name):
embed_color = 15158332
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.add_field(name='Current Price', value=request['price'], inline=False)
embed.add_field(name='Previous Close', value=request['previousClose'], inline=False)