📌  相关文章
📜  discord.js 禁止用户 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:32.898000             🧑  作者: Mango

代码示例1
let member = message.mentions.members.first();
if(!member) return message.reply("Please mention a valid member of this server");
if(!member.bannable) return message.reply("I cannot ban this member!");

member.ban(); //.ban(reason) if you would to put in the reason through arguments