provide img/logo-96.png

This commit is contained in:
deflax 2024-01-18 04:46:08 +02:00
parent 676fbeed05
commit 41c3e233f4
2 changed files with 3 additions and 3 deletions

View file

@ -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:

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB