📜  discord.js 锁定通道 - Javascript 代码示例

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

代码示例1
const role = guild.roles.find("name", "Verified ");

message.channel.overwritePermissions(role,{ 'SEND_MESSAGES': false })