From f6d4806ef69ecc4ff81bca689f9fa5a952ff5396 Mon Sep 17 00:00:00 2001 From: deflax Date: Sat, 8 Feb 2025 03:24:43 +0200 Subject: [PATCH] start exec_recorder job --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 2de2df1..a524ee5 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -99,7 +99,7 @@ async def rec(ctx): # Check if the recorder job already exists if scheduler.get_job('recorder') is None: await ctx.channel.send(f'Recording from {stream_name} (prio={stream_prio})') - scheduler.add_job(func=recorder, id='recorder', args=(playhead)) + scheduler.add_job(func=exec_recorder, id='recorder', args=(playhead)) else: await ctx.channel.send(f'Recorder is busy!')