discord.py code to get list all channel of the guild code example
Example 1: discord.py get guild member list
guild = client.get_guild(ID)
memberList = guild.members
Example 2: discord py get all channels in guild
guild.text_channels
guild = client.get_guild(ID)
memberList = guild.members
guild.text_channels