Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
84
rated 0 times [  87] [ 3]  / answers: 1 / hits: 18791  / 7 Years ago, sun, october 1, 2017, 12:00:00

I am trying to move a user to another channel with my bot. But I don't find any way to do that. Do I miss something or is it just not possible to accomplish with discord.js/discord api?


More From » node.js

 Answers
16

channel is the voice channel you want to put the member in and GuildMember is the member:


GuildMember.voice.setChannel(channel)

I haven't tested this myself but it should work.


[#56337] Thursday, September 28, 2017, 7 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jadon

Total Points: 488
Total Questions: 105
Total Answers: 105

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
2 Years ago
;