fix video_watch_url variable name
This commit is contained in:
parent
da6fd931c1
commit
aaf52a6cce
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ async def query_database():
|
||||||
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}',
|
||||||
url=f'{watch_url}',
|
url=f'{video_watch_url}',
|
||||||
colour=0x00b0f4,
|
colour=0x00b0f4,
|
||||||
timestamp=datetime.now())
|
timestamp=datetime.now())
|
||||||
embed.add_field(name="Download",
|
embed.add_field(name="Download",
|
||||||
|
|
Loading…
Reference in a new issue