mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
more tiny voice docs
This commit is contained in:
@@ -226,6 +226,10 @@ class Client extends EventEmitter {
|
||||
return typeof window !== 'undefined';
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new voice broadcast
|
||||
* @returns {VoiceBroadcast} the created broadcast
|
||||
*/
|
||||
createVoiceBroadcast() {
|
||||
const broadcast = new VoiceBroadcast(this);
|
||||
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}
|
||||
*/
|
||||
class VoiceBroadcast extends EventEmitter {
|
||||
|
||||
Reference in New Issue
Block a user