mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
feat(VoiceState): add kick method (#3462)
* feat(VoiceState): add kick method * feat(typings): add types for VoiceState#kick method
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1590,6 +1590,7 @@ declare module 'discord.js' {
|
||||
|
||||
public setDeaf(deaf: boolean, reason?: string): Promise<GuildMember>;
|
||||
public setMute(mute: boolean, reason?: string): Promise<GuildMember>;
|
||||
public kick(reason?: string): Promise<GuildMember>;
|
||||
public setChannel(channel: ChannelResolvable | null, reason?: string): Promise<GuildMember>;
|
||||
public setSelfDeaf(deaf: boolean): Promise<boolean>;
|
||||
public setSelfMute(mute: boolean): Promise<boolean>;
|
||||
|
||||
Reference in New Issue
Block a user