mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(Typing): setSpeaking public
This commit is contained in:
@@ -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;
|
||||
|
||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1590,7 +1590,6 @@ declare module 'discord.js' {
|
||||
private reconnect(token: string, endpoint: string): void;
|
||||
private sendVoiceStateUpdate(options: object): Promise<Shard>;
|
||||
private setSessionID(sessionID: string): void;
|
||||
private setSpeaking(value: BitFieldResolvable<SpeakingString>): 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<SpeakingString>): void;
|
||||
|
||||
public on(event: 'authenticated' | 'closing' | 'newSession' | 'ready' | 'reconnecting', listener: () => void): this;
|
||||
public on(event: 'debug', listener: (message: string) => void): this;
|
||||
|
||||
Reference in New Issue
Block a user