Discord py Получите все каналы в гильдии
guild.text_channels
Locstock
guild.text_channels
# Returns a list of all channels from all guilds( as channel IDs )
bot.get_all_channels()