From aaf52a6cce4a2e0f1050a6d139016e282c780c04 Mon Sep 17 00:00:00 2001 From: deflax Date: Fri, 19 Jan 2024 00:53:31 +0200 Subject: [PATCH] fix video_watch_url variable name --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 5e2a8aa..a43d9ae 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -152,7 +152,7 @@ async def query_database(): video_filename_no_extension = video_filename.split('.')[0] video_watch_url = f'https://{scheduler_hostname}/video/watch/{video_filename_no_extension}' embed = discord.Embed(title=f'{rec_stream_name}', - url=f'{watch_url}', + url=f'{video_watch_url}', colour=0x00b0f4, timestamp=datetime.now()) embed.add_field(name="Download",