.md file attachment. This is useful for archiving discussions, sharing context outside Discord, or feeding thread content into other tools.
Usage
Run/summarize inside any public thread. The bot responds immediately with an ephemeral acknowledgement and then uploads the file once it finishes processing.
small option (default: true) wraps each message header in <small> tags to reduce visual size when the Markdown is rendered.
The
/summarize command only works inside public threads. Running it in a regular channel or a private thread returns an ephemeral error.Output format
The generated file follows this structure:Message format details
Display names
Display names
The bot uses the member’s server nickname (
nick) when available, falling back to their Discord username. This means the summary reflects how members are known in your server.Reply threading
Reply threading
Image attachments
Image attachments
Image attachments are appended below the message content as standard Markdown image syntax:
Small mode
Small mode
When Set
small is true (the default), message headers are wrapped in <small>...</small> tags:small:false to omit the tags if you are rendering the Markdown in a context that does not support HTML.Summarize implementation
The coresummarize function builds the document header and then processes each message concurrently:
Summarizer.ts