title: Discord.py - Trying to get number of channels, text channels & voice channels
body: <p>I'm trying to get the number of channels, text channels &amp; voice channels for a server info command, I've looked through the interwebs and didn't find anything</p>
  
  <p>I'm not going to show the server info command fully, just where I'm trying to get the number of channels, text channels &amp; voice channels:</p>
  
  <pre class="lang-py prettyprint-override"><code>@client.command()
  async def sinfo(ctx):
   guild=ctx.message.guild
  
   embed=discord.Embed(colour=discord.Colour.orange())
  
   embed.add_field(name="Server Channels: ", value=guild.channels, inline=False)
   embed.add_field(name="Server Text Channels: ", value=guild.text_channels, inline=False)
   embed.add_field(name="Server Voice Channels: ", value=guild.voice_channels, inline=False)
  
   await ctx.send(embed=embed)
  </code></pre>
  
  <p>When I say "channels" I mean both text channels &amp; voice channels together</p>