diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index 5f0e99505..1a5a43e90 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -144,7 +144,6 @@ class VoiceConnection extends EventEmitter { /** * Sets whether the voice connection should display as "speaking", "soundshare" or "none". * @param {BitFieldResolvable} value The new speaking state - * @private */ setSpeaking(value) { if (this.speaking.equals(value)) return; diff --git a/typings/index.d.ts b/typings/index.d.ts index 206017262..fb81181d8 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1590,7 +1590,6 @@ declare module 'discord.js' { private reconnect(token: string, endpoint: string): void; private sendVoiceStateUpdate(options: object): Promise; private setSessionID(sessionID: string): void; - private setSpeaking(value: BitFieldResolvable): void; private setTokenAndEndpoint(token: string, endpoint: string): void; private updateChannel(channel: VoiceChannel): void; @@ -1605,6 +1604,7 @@ declare module 'discord.js' { public voiceManager: ClientVoiceManager; public disconnect(): void; public play(input: VoiceBroadcast | Readable | string, options?: StreamOptions): StreamDispatcher; + public setSpeaking(value: BitFieldResolvable): void; public on(event: 'authenticated' | 'closing' | 'newSession' | 'ready' | 'reconnecting', listener: () => void): this; public on(event: 'debug', listener: (message: string) => void): this;