From cb94d9494357646f6af0c83dc9b10548138091f4 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Tue, 2 Jan 2024 21:32:45 -0500 Subject: [PATCH] Drastically lowering the end time duration of a speaking session in voice calls to see if event emitter warnings go away --- breadbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breadbot.js b/breadbot.js index c8bfbcf..af49a2d 100644 --- a/breadbot.js +++ b/breadbot.js @@ -124,7 +124,7 @@ client.on(Events.VoiceStateUpdate, async (oldState, newState) => { receiver.subscribe(user_id, { end: { behavior: EndBehaviorType.AfterSilence, - duration: 2500 + duration: 500 } }) .pipe(new prism.opus.OggLogicalBitstream({