mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
perf(VoiceConnection): skip redundant volume transformer on join (#3916)
This commit is contained in:
parent
3e169cb4d3
commit
69d415301d
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ class VoiceConnection extends EventEmitter {
|
|||
ready();
|
||||
} else {
|
||||
// This serves to provide support for voice receive, sending audio is required to receive it.
|
||||
const dispatcher = this.play(new SingleSilence(), { type: 'opus' });
|
||||
const dispatcher = this.play(new SingleSilence(), { type: 'opus', volume: false });
|
||||
dispatcher.once('finish', ready);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue