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:
parent
00b834c40b
commit
cb94d94943
@ -124,7 +124,7 @@ client.on(Events.VoiceStateUpdate, async (oldState, newState) => {
|
|||||||
receiver.subscribe(user_id, {
|
receiver.subscribe(user_id, {
|
||||||
end: {
|
end: {
|
||||||
behavior: EndBehaviorType.AfterSilence,
|
behavior: EndBehaviorType.AfterSilence,
|
||||||
duration: 2500
|
duration: 500
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.pipe(new prism.opus.OggLogicalBitstream({
|
.pipe(new prism.opus.OggLogicalBitstream({
|
||||||
|
Loading…
Reference in New Issue
Block a user