Skip to main content
discord.listMessages list a page of Discord channel messages.
automations/discord-list-messages.automation.ts

Inputs

Required channelId. Optional before, after, or around cursor and limit from 1–100; use at most one cursor. Optional second argument { account } selects the Discord binding.

Output

Returns DiscordMessage[] in Discord’s provider order.

Discord behavior

Requires VIEW_CHANNEL and READ_MESSAGE_HISTORY.