@@ -394,7 +394,7 @@ class GuildMemberManager extends CachedManager {
|
||||
* .then(banInfo => console.log(`Banned ${banInfo.user?.tag ?? banInfo.tag ?? banInfo}`))
|
||||
* .catch(console.error);
|
||||
*/
|
||||
ban(user, options = { days: 0 }) {
|
||||
ban(user, options) {
|
||||
return this.guild.bans.create(user, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user