Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Message → List

AI-generated

Summary

Lists messages from a Discord channel, with optional snowflake cursors to return messages around, before, or after a specified message ID.

Inputs

  • Authentication — Choose Bot Token (the default) or OAuth2 (User Token).
  • Channel (required) — Discord channel snowflake ID to list messages from.
  • Around — Optional message snowflake ID; Discord returns messages around this ID.
  • Before — Optional message snowflake ID; Discord returns messages before this ID.
  • After — Optional message snowflake ID; Discord returns messages after this ID.
  • Limit — Maximum number of messages to return; defaults to 50, with a configured range of 1–100.
  • Request Options — Optional request settings for batching, SSL certificate validation, proxy, and timeout.

Output shape

A list of Discord messages, subject to the requested limit and cursor filters.

The supplied source pack shows only a signature-level view of the Message module, so it does not expose the response transformation; no additional output fields or pagination behavior can be confirmed.

Links

Discussion