# Returns a list of all channels from all guilds( as channel IDs ) bot.get_all_channels()
Here is what the above code is Doing:
1. It’s getting all the guilds the bot is in.
2. It’s getting all the channels from all the guilds.
3. It’s returning a list of all the channels.