title: How to get the ID of a given voice channel? - Discord.py
body: <p>I have the following line of code, it is meant to take in a channel and give the id of it.</p>
  <pre><code>channel = discord.utils.get(message.guild.channels, name='general', type=&quot;ChannelType.voice&quot;)
  print(channel)
  </code></pre>
  <p>It ends up returning <code>None</code>, am I doing something wrong?</p>