javascript - How to move a user into another channel? - Stack Overflow

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 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 badges
Add a ment  | 

1 Answer 1

Reset to default 9

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743648558a4484170.html

相关推荐

  • javascript - How to move a user into another channel? - Stack Overflow

    I am trying to move a user to another channel with my bot. But I don't find any way to do that. Do

    1天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信