From f461f58a00c75b018aafa25d745a5c541da7f4ee Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 17 Jan 2024 05:38:06 +0200 Subject: [PATCH] change message since we dont know the livestream name at this point --- src/discordbot/discordbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 45a7461..30b94cc 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -97,8 +97,8 @@ async def update_database(): if scheduler.get_job('announce_live_channel') is not None: scheduler.remove_job('announce_live_channel') #live_channel = bot.get_channel(announce_channel_id) - logger_discord.info(f'{stream_name} finished') - #await live_channel.send(f'{stream_name} finished') + logger_discord.info(f'Live stream is offline.') + #await live_channel.send('Live stream is offline.') async def announce_live_channel(stream_name): if announce_channel_id == 'disabled':