What problem does it solve?
Retrieve and format Discord channel messages for reading, searching, analysis, and export so users do not have to manually scroll, copy, or filter large conversation histories.
Core Features & Use Cases
- Paginated retrieval: Fetch messages in batches and iterate with before/after/around parameters to collect large histories.
- Filtering & search: Support filtering by author, keyword, message type, and attachments after retrieval for targeted analysis.
- Export & formatting: Produce readable summaries, detailed message records, or plain text exports for archival or processing.
- Robust error handling: Validate environment token, channel ID format, permission errors, rate limits, and common HTTP response codes.
- Use case: Export the last 250 messages from a support channel, filter by a user's messages, and save a formatted transcript for reporting.
Quick Start
Use the discord-get-messages skill to fetch the last 50 messages from channel 123456789012345678 using the DISCORD_BOT_TOKEN environment variable.