Actions17
- Channel Actions
- Message Actions
- Member Actions
Message → Get Many
AI-generatedSummary
Retrieve multiple messages from a specific Discord channel within a selected server (guild), supporting pagination, rate limiting, and retry options to handle API constraints.
Inputs
- Connection Type — Select the authentication method: Bot Token, OAuth2, or Webhook (Webhook option disables this operation).
- Server (guildId) (required) — Select the Discord server to fetch messages from, via name, URL, or ID.
- Channel (channelId) (required) — Select the channel within the server to retrieve messages from, via name, URL, or ID.
- Return All — Choose whether to retrieve all messages or limit the number to a specified maximum.
- Limit — Specify the maximum number of messages to return if not returning all.
- Options — Configure operation behaviors such as simplifying the response, delay between requests to avoid rate limiting, and retry attempts with delay on errors.
Output shape
a list of message objects
Returns either raw message data or a simplified version depending on 'Simplify' option. Supports pagination internally to fetch multiple pages of messages respecting Discord API rate limits. Webhook authentication disables this operation.
Examples
Example 1: Fetch up to 50 messages from a specified channel in a Discord server using Bot Token authentication, returning simplified message data.
Set 'Connection Type' to Bot Token, select 'Server' and 'Channel' via resource locators, leave 'Return All' false, 'Limit' at 50, and 'Simplify' true.