discordpy how to get the voice channel the bot in code example
Example: discordpy how to make the bot join voice channel
@client.command()
async def join(ctx):
channel = ctx.author.voice.channel
await channel.connect()
@client.command()
async def leave(ctx):
await ctx.voice_client.disconnect()