Answers for "mute everyone in call discord.js"

1

mute everyone in call discord.js

client.on('message', (message) => {
    if (message.content == '/muteAll') {
        let channel = message.member.voiceChannel;
        for (let member of channel.members) {
            member[1].setMute(true)
        }
     }
});
Posted by: Guest on September-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language