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 acplish with discord.js/discord api?
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 acplish with discord.js/discord api?
Share Improve this question edited Oct 25, 2021 at 22:13 Tomerikoo 19.5k16 gold badges55 silver badges67 bronze badges asked Oct 1, 2017 at 16:29 NimmiNimmi 1731 gold badge2 silver badges7 bronze badges1 Answer
Reset to default 9channel
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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743648558a4484170.html
评论列表(0条)