N
N
not important .2020-12-12 15:04:30
Node.js
not important ., 2020-12-12 15:04:30

How to make the bot move a participant from one channel to another on command?

For example, from the old channel to the new one using voiceStateUpdate

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-12
@26DiDi12

.setChannel()

if (message.content === prefix + "setChannel") {
 message.member.voice.setChannel(message.guild.channels.cache.get("ID_канала"))
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question