mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Add VoiceConnection#dispatcher
This commit is contained in:
@@ -116,6 +116,15 @@ class VoiceConnection extends EventEmitter {
|
|||||||
this.authenticate();
|
this.authenticate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The current stream dispatcher (if any)
|
||||||
|
* @type {?StreamDispatcher}
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
|
get dispatcher() {
|
||||||
|
return this.player.dispatcher;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets whether the voice connection should display as "speaking" or not
|
* Sets whether the voice connection should display as "speaking" or not
|
||||||
* @param {boolean} value whether or not to speak
|
* @param {boolean} value whether or not to speak
|
||||||
|
|||||||
Reference in New Issue
Block a user