mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Add VoiceConnection#dispatcher
This commit is contained in:
parent
36c03909dd
commit
dce8e83465
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue