title: Discord.py - How would I get the ID of a Voice Channel?
body: <p>I'm trying to get the ID of the author's voice channel. I'm trying to get it to make a link that you can click to go onto a full voice channel (if that makes sense):</p>
  
  <pre><code>@client.command()
  async def fullv(ctx):
  
   guild=ctx.message.guild
   author=ctx.message.author
   channel = 
   vc=f"https://discordapp.com/{guild.id}/{channel.id}"
  
   embed=discord.Embed(title="Join Full Voice", url=vc, description="Full voice is a DM voice chat in a Discord Server!", color=0x00ff40)
  
   await ctx.send(embed=embed)
  </code></pre>
  
  <p>Without <code>{channel.id}</code> in <code>vc=f"https://discordapp.com/{guild.id}/{channel.id}"</code> it works fine but then you can't view the voice channel</p>