M
M
Matvey Subbotin2020-08-11 16:31:43
Node.js
Matvey Subbotin, 2020-08-11 16:31:43

How to silence everyone in the voice channel?

Please, tell me the code to stir up everyone in the voice channel in which the sender of the command is located ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-08-11
@KokiMoki

and what's the problem to collect all the participants of the voice channel?

let channelID = 'id_канала';
message.guild.channels.cache.get(channelID).members.forEach((member) => {
// действие
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question