mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
more tiny voice docs
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user