discord.listMessages list a page of Discord channel messages.
automations/discord-list-messages.automation.ts
Inputs
RequiredchannelId. 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
ReturnsDiscordMessage[] in Discord’s provider order.
Discord behavior
RequiresVIEW_CHANNEL and READ_MESSAGE_HISTORY.