discord.listChannels lists every channel in a Discord server.
automations/discord-list-channels.automation.ts
Inputs
RequiredguildId. Optional second argument { account } selects the Discord binding.
Output
ReturnsDiscordChannel[], including categories. Use discord.listActiveThreads to list active threads.
Discord behavior
RequiresVIEW_CHANNEL; hidden channels may be omitted.