discord py text channel only can see 2person code example
Example: discord py server.channels
# Returns a list of all channels from all guilds( as channel IDs )
bot.get_all_channels()
# Returns a list of all channels from all guilds( as channel IDs )
bot.get_all_channels()