Drastically lowering the end time duration of a speaking session in voice calls to see if event emitter warnings go away

This commit is contained in:
Bradley Bickford 2024-01-02 21:32:45 -05:00
parent 00b834c40b
commit cb94d94943

View File

@ -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({