mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
more tiny voice docs
This commit is contained in:
parent
56e01291e2
commit
d13c48bafa
2 changed files with 5 additions and 1 deletions
|
|
@ -226,6 +226,10 @@ class Client extends EventEmitter {
|
||||||
return typeof window !== 'undefined';
|
return typeof window !== 'undefined';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a new voice broadcast
|
||||||
|
* @returns {VoiceBroadcast} the created broadcast
|
||||||
|
*/
|
||||||
createVoiceBroadcast() {
|
createVoiceBroadcast() {
|
||||||
const broadcast = new VoiceBroadcast(this);
|
const broadcast = new VoiceBroadcast(this);
|
||||||
this.broadcasts.push(broadcast);
|
this.broadcasts.push(broadcast);
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const ffmpegArguments = [
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A voice broadcast that can be played across multiple voice connections
|
* A voice broadcast can be played across multiple voice connections for improved shared-stream efficiency.
|
||||||
* @extends {EventEmitter}
|
* @extends {EventEmitter}
|
||||||
*/
|
*/
|
||||||
class VoiceBroadcast extends EventEmitter {
|
class VoiceBroadcast extends EventEmitter {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue