Discord PY Server.Channels

# Returns a list of all channels from all guilds( as channel IDs )

bot.get_all_channels()
Locstock