This commit is contained in:
deflax 2024-01-17 05:16:36 +02:00
parent 41e2e5f77c
commit eacea567ba

View file

@ -99,9 +99,9 @@ async def announce_live_channel(stream_name):
if announce_channel_id == 'disabled': if announce_channel_id == 'disabled':
return return
else: 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!') 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 # Run the bot with your token
asyncio.run(bot.run(bot_token)) asyncio.run(bot.run(bot_token))