remove announcement job after we fully check the db for live streams

This commit is contained in:
deflax 2024-01-17 04:26:42 +02:00
parent 0bbc81e50f
commit 7dcac2f191

View file

@ -82,6 +82,7 @@ async def update_database():
logger_discord.info(f'{name} live stream detected!')
scheduler.add_job(func=announce_live_channel, seconds=60, id='announce_live_channel', args=(name))
return
try:
job = scheduler.get_job('announce_live_channel')
if job: