📅  最后修改于: 2022-03-11 15:03:36.893000             🧑  作者: Mango
client.on('message', (message) => {
if (message.content == '/muteAll') {
let channel = message.member.voiceChannel;
for (let member of channel.members) {
member[1].setMute(true)
}
}
});