mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Added guild.kick(member) and member.kick()
This commit is contained in:
@@ -62,6 +62,10 @@ class GuildMember {
|
||||
deleteDM() {
|
||||
return this.client.rest.methods.DeleteChannel(this);
|
||||
}
|
||||
|
||||
kick() {
|
||||
return this.client.rest.methods.KickGuildMember(this.guild, this);
|
||||
}
|
||||
}
|
||||
|
||||
TextBasedChannel.applyToClass(GuildMember);
|
||||
|
||||
Reference in New Issue
Block a user