因此,我尝试了大多数堆栈溢出帖子的解决方案,但都没有奏效。
async def join(ctx):
destination = ctx.author.voice.channel
if ctx.voice_state.voice:
await ctx.voice_state.voice.move_to(destination)
return
ctx.voice_state.voice = await destination.connect()
await ctx.send(f"Joined {ctx.author.voice.channel} Voice Channel")```发布于 2022-09-19 14:35:37
让一个机器人加入你的声音频道,
async def join(ctx):
vc = ctx.author.voice.channel
await vc.connect()https://stackoverflow.com/questions/73763239
复制相似问题