mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
Fix member.ban() and channel.clone() (#2241)
* Fix member.ban() * also fix channel.clone() * type is an option parameter in the new create * lint * better fix for clone
This commit is contained in:
@@ -543,7 +543,7 @@ class GuildMember extends Base {
|
||||
* .catch(console.error);
|
||||
*/
|
||||
ban(options) {
|
||||
return this.guild.ban(this, options);
|
||||
return this.guild.members.ban(this, options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user