feat(VoiceState): add kick method (#3462)

* feat(VoiceState): add kick method

* feat(typings): add types for VoiceState#kick method
This commit is contained in:
Will Nelson
2019-09-10 02:00:04 -07:00
committed by Amish Shah
parent a6810e2eaa
commit c86a6154aa
2 changed files with 10 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -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>;