debug
This commit is contained in:
parent
22646613f8
commit
0bbc81e50f
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ async def update_database():
|
||||||
if database != {}:
|
if database != {}:
|
||||||
for key, value in database.items():
|
for key, value in database.items():
|
||||||
name = value['name']
|
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':
|
if start_at == 'now':
|
||||||
logger_discord.info(f'{name} live stream detected!')
|
logger_discord.info(f'{name} live stream detected!')
|
||||||
scheduler.add_job(func=announce_live_channel, seconds=60, id='announce_live_channel', args=(name))
|
scheduler.add_job(func=announce_live_channel, seconds=60, id='announce_live_channel', args=(name))
|
||||||
|
|
Loading…
Reference in a new issue