📜  discord.js 锁定命令 - Javascript 代码示例

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

代码示例1
//You must have a permission script above here to stop normal members from using this
message.channel.updateOverwrite(message.channel.guild.roles.everyone, { VIEW_CHANNEL: false, SEND_MESSAGES: false });