Answer the question
In order to leave comments, you need to log in
Who can make the discord bot randomly select two people from the voice channel?
For example, the user writes the command "!rndm" to the chat, and the bot will randomly select two people from the voice channel in which the person who wrote the command sits and write their nicknames in the chat. How can I do that?
Answer the question
In order to leave comments, you need to log in
First Google result https://stackoverflow.com/questions/65703852/take-... Do
the same for the channel.
use a loop to loop through all the people from the voice channel, adding them to the list, and then select 2 people from this list and write their nicknames
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question