provide img/logo-96.png
This commit is contained in:
parent
676fbeed05
commit
41c3e233f4
2 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ async def query_database():
|
||||||
video_url = f'https://{scheduler_hostname}/video/{video_filename}'
|
video_url = f'https://{scheduler_hostname}/video/{video_filename}'
|
||||||
thumb_url = f'https://{scheduler_hostname}/thumb/{thumb_filename}'
|
thumb_url = f'https://{scheduler_hostname}/thumb/{thumb_filename}'
|
||||||
watch_url = f'https://{scheduler_hostname}/watch/{video_filename}'
|
watch_url = f'https://{scheduler_hostname}/watch/{video_filename}'
|
||||||
asset_url = f'https://{scheduler_hostname}/asset'
|
img_url = f'https://{scheduler_hostname}/img'
|
||||||
embed = discord.Embed(title=f'{rec_stream_name}',
|
embed = discord.Embed(title=f'{rec_stream_name}',
|
||||||
url=f'{watch_url}',
|
url=f'{watch_url}',
|
||||||
colour=0x00b0f4,
|
colour=0x00b0f4,
|
||||||
|
@ -160,9 +160,9 @@ async def query_database():
|
||||||
value=f'[plyr.js]({watch_url})',
|
value=f'[plyr.js]({watch_url})',
|
||||||
inline=True)
|
inline=True)
|
||||||
embed.set_image(url=thumb_url)
|
embed.set_image(url=thumb_url)
|
||||||
embed.set_thumbnail(url=f'{asset_url}/logo-96.png')
|
embed.set_thumbnail(url=f'{img_url}/logo-96.png')
|
||||||
embed.set_footer(text="DeflaxTV",
|
embed.set_footer(text="DeflaxTV",
|
||||||
icon_url=f'{asset_url}/logo-96.png')
|
icon_url=f'{img_url}/logo-96.png')
|
||||||
# Sending the embed to the channel
|
# Sending the embed to the channel
|
||||||
await live_channel.send(embed=embed)
|
await live_channel.send(embed=embed)
|
||||||
else:
|
else:
|
||||||
|
|
BIN
src/scheduler/img/logo-96.png
Normal file
BIN
src/scheduler/img/logo-96.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
Loading…
Reference in a new issue