From eacea567bad50a43c44d3387e62a7464e8faf958 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 17 Jan 2024 05:16:36 +0200 Subject: [PATCH] debug --- 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 54f976f..a94fe37 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -99,9 +99,9 @@ async def announce_live_channel(stream_name): if announce_channel_id == 'disabled': return else: - live_channel = bot.get_channel(announce_channel_id) + #live_channel = bot.get_channel(announce_channel_id) logger_discord.info(f'{stream_name} is live!') - await live_channel.send(f'{stream_name} is live!') + #await live_channel.send(f'{stream_name} is live!') # Run the bot with your token asyncio.run(bot.run(bot_token)) \ No newline at end of file