mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
types(VoiceState): fix optional params (#5993)
This commit is contained in:
@@ -149,7 +149,7 @@ class VoiceState extends Base {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Moves the member to a different channel, or disconnects them from the one they're in.
|
* Moves the member to a different channel, or disconnects them from the one they're in.
|
||||||
* @param {ChannelResolvable|null} [channel] Channel to move the member to, or `null` if you want to disconnect them
|
* @param {ChannelResolvable|null} channel Channel to move the member to, or `null` if you want to disconnect them
|
||||||
* from voice.
|
* from voice.
|
||||||
* @param {string} [reason] Reason for moving member to another channel or disconnecting
|
* @param {string} [reason] Reason for moving member to another channel or disconnecting
|
||||||
* @returns {Promise<GuildMember>}
|
* @returns {Promise<GuildMember>}
|
||||||
|
|||||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2154,7 +2154,7 @@ declare module 'discord.js' {
|
|||||||
public serverMute: boolean | null;
|
public serverMute: boolean | null;
|
||||||
public sessionID: string | null;
|
public sessionID: string | null;
|
||||||
public streaming: boolean;
|
public streaming: boolean;
|
||||||
public selfVideo: boolean;
|
public selfVideo: boolean | null;
|
||||||
public suppress: boolean;
|
public suppress: boolean;
|
||||||
public requestToSpeakTimestamp: number | null;
|
public requestToSpeakTimestamp: number | null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user