This commit is contained in:
deflax 2024-01-17 04:13:02 +02:00
parent 22646613f8
commit 0bbc81e50f

View file

@ -75,7 +75,9 @@ async def update_database():
if database != {}:
for key, value in database.items():
name = value['name']
start_at = value['start_at']
start_at = value['start_at']
logger_discord.info(name)
logger_discord.info(start_at)
if start_at == 'now':
logger_discord.info(f'{name} live stream detected!')
scheduler.add_job(func=announce_live_channel, seconds=60, id='announce_live_channel', args=(name))