T
T
TipoImya2020-07-21 12:20:09
JavaScript
TipoImya, 2020-07-21 12:20:09

Is it possible to assign a role to a user who is in one of the discord voice channels using Discord.js?

I have a channel, let's say with the name - test, there are 5 people in it, I need to give one of these 5 people some role, is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-07-21
@Alexandre888

yes, it is possible.
collect the participants of the voice channel, write them into an array and select a specific

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question