Skip to main content
discord.listChannels lists every channel in a Discord server.
automations/discord-list-channels.automation.ts

Inputs

Required guildId. Optional second argument { account } selects the Discord binding.

Output

Returns DiscordChannel[], including categories. Use discord.listActiveThreads to list active threads.

Discord behavior

Requires VIEW_CHANNEL; hidden channels may be omitted.