fix: sending audio flag
This commit is contained in:
@@ -82,7 +82,7 @@ class VoiceConnection extends EventEmitter {
|
||||
* The audio player for this voice connection
|
||||
* @type {MediaPlayer}
|
||||
*/
|
||||
this.player = new MediaPlayer(this);
|
||||
this.player = new MediaPlayer(this, this.constructor.name === 'StreamConnection');
|
||||
|
||||
this.player.on('debug', m => {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user