2024-05-23 14:09:42 发布
网友
我正在使用discord.py模块编写一个bot(可以在这里找到引用:http://rapptz.github.io/discord.py/api.html)。
机器人(脚本)有没有办法将用户移动到不同的语音频道?
例如,用户X正在播放“明星公民”,但处于“BF4”频道。机器人会将用户移动到正确的“明星公民”语音频道。
任何帮助都将不胜感激(我是python新手等等)。
有一个移动成员的函数: http://discordpy.readthedocs.io/en/latest/api.html#discord.Client.move_member
以及新游戏的功能: http://discordpy.readthedocs.io/en/latest/api.html#discord.on_member_update
除此之外,在stackoverflow上,你应该带着你已经试过的东西来,而不是进来说“嘿,我怎么做x”
有一个移动成员的函数: http://discordpy.readthedocs.io/en/latest/api.html#discord.Client.move_member
以及新游戏的功能: http://discordpy.readthedocs.io/en/latest/api.html#discord.on_member_update
除此之外,在stackoverflow上,你应该带着你已经试过的东西来,而不是进来说“嘿,我怎么做x”
相关问题 更多 >
编程相关推荐