谁能帮帮我,我是这样说的:
@bot.command(pass_context=True)
async def join(ctx):
author = ctx.message.author
channel = author.voice_channel
await bot.join_voice_channel(channel)
答案 0 :(得分:1)
改用这个
@bot.command(pass_context=True)
async def join(ctx):
channel = ctx.author.voice.channel
await channel.connect()