fix video_download_url
This commit is contained in:
parent
aaf52a6cce
commit
070fd6a768
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ async def query_database():
|
||||||
# Creating an embed
|
# Creating an embed
|
||||||
img_url = f'https://{scheduler_hostname}/img'
|
img_url = f'https://{scheduler_hostname}/img'
|
||||||
thumb_url = f'https://{scheduler_hostname}/thumb/{thumb_filename}'
|
thumb_url = f'https://{scheduler_hostname}/thumb/{thumb_filename}'
|
||||||
video_download_url = f'https://{scheduler_hostname}/video/{video_filename}'
|
video_download_url = f'https://{scheduler_hostname}/video/download/{video_filename}'
|
||||||
video_filename_no_extension = video_filename.split('.')[0]
|
video_filename_no_extension = video_filename.split('.')[0]
|
||||||
video_watch_url = f'https://{scheduler_hostname}/video/watch/{video_filename_no_extension}'
|
video_watch_url = f'https://{scheduler_hostname}/video/watch/{video_filename_no_extension}'
|
||||||
embed = discord.Embed(title=f'{rec_stream_name}',
|
embed = discord.Embed(title=f'{rec_stream_name}',
|
||||||
|
|
Loading…
Reference in a new issue