Я установил, что соединение работает нормально, но при попытке отключить бота он напечатает, что он отключился, и просто оставит их в чате без ошибок. Вот код:
@client.command(pass_context=True)
async def join(ctx):
channel = ctx.message.author.voice.channel
await channel.connect()
print('connected')
@client.command(pass_context=True)
async def disconnect(ctx):
server = ctx.message.guild.voice_client
await server.disconnect()
print ('disconnected')
Заранее спасибо за любую помощь.