fix video_watch_url variable name

This commit is contained in:
deflax 2024-01-19 00:53:31 +02:00
parent da6fd931c1
commit aaf52a6cce

View file

@ -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",