122
rated 0 times
[
129]
[
7]
/ answers: 1 / hits: 26813
/ 4 Years ago, tue, july 14, 2020, 12:00:00
I'm working on a discord bot for my friend group's gaming server. I'd like to add a command mutes everyone in the voice channel. I figured that this msg.member.voice.channel.members.setmute(true);
would work but it's returning back not being a function and crashes the bot. This msg.member.voice.setMute(true);
works as in it will server mute the member who sends the message but obviously not the whole channel which is what I'm going for. I'm brand new to discord.js and the documentation has been a little confusing. Thanks for your time!
More From » discord