mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
fix(Typing): setSpeaking public (#4109)
This commit is contained in:
parent
67a74c33e1
commit
e3303ac3a2
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue