Channel transcripts
Saving a channel as a page you can open in a browser, plus the raw data behind it.
Module: transcripts. Off until a server admin runs /moduleadmin enable module: Channel transcripts guild_id: <this server's ID>. See Modules.
Running one
/transcript channel: #general
Leave channel out and you get the channel you typed the command in. The bot
reads the whole channel, oldest message first, and replies with two files:
| File | What it is |
|---|---|
general-2026-09-15.html | The channel, drawn the way Discord draws it. Open it in any browser. |
general-2026-09-15.json | Every message as Discord sent it, untouched, with a table of the names, roles and channels the page needed. |
The page keeps the things Discord shows: avatars, role colours, replies with their preview, edits, reactions, embeds, buttons, polls, forwarded messages, stickers, and the join and pin lines. Times show in your own timezone, the same as Discord, and the date dividers move with them.
The two options
The files go into the channel you typed the command in, and everyone who can see that channel can open them. The JSON holds the ID of everyone who wrote in the exported channel. So when the channel you are exporting is not open to everyone in the server (a staff channel, or a private thread), Chancery keeps the reply to you alone and says so. To keep such an export in that channel's own record, run the command inside that channel.
limit takes only the latest that many messages. Use it on a channel that is
too big to attach in one go; the page says which dates it covers, so you can
work back through the rest in parts.
private shows the files to you alone. It is always on when the channel you are
exporting is not open to everyone in the server, such as a staff channel exported
from a public one. Turn it on yourself for anything else you would rather not
post. Without it, an export of a channel everyone can read posts where you ran
the command, which is the right place for an archive of a public channel.
Images
Discord's links to attachments stop working about a day after the export. The page stores its images inside itself, avatars first, then attachments in order, for as long as the upload limit allows. The reply and the page footer both say how many made it. Files that are not images, and any image that did not fit, link to Discord and expire with it.
Who can run it
Somebody who can already read the channel, and who has Manage Messages there or the admin role. The bot also has to be able to read the channel. If you cannot see a channel, you cannot export it, whatever the bot can see.
Size
The two files travel in one message while together they stay under 94% of the server's upload limit (10 MB on
a server with no boosts). Over that they arrive as one zip. A channel that will
not fit even zipped gets a reply saying so; use limit. An export stops at
25,000 messages, which is past what a 10 MB upload can carry anyway.
When you are stuck
"Channel transcripts is not enabled in this server."
The module is off. A server admin turns it on with /moduleadmin enable module: Channel transcripts guild_id: <this server's ID>.
The reply just says the channel is too big
Run it again with limit. Start with 5000 and read the dates off the page to pick the next range.
I asked for a channel and the files came only to me
That channel is not open to everyone in the server, so the reply stayed private on purpose. Run /transcript inside that channel to keep the export there, or save the files from the private reply.
The reply landed in the channel, not as a reply to me
The export took longer than a command reply stays alive, fifteen minutes, so the bot posted it directly. A private export that outlives the reply goes to your DMs instead.
Images are missing when I open the page later
They did not fit inside the page, so they link to Discord, and Discord's links have expired. The footer says how many were kept. Export smaller ranges with limit to fit more images in each.
A mention shows as unknown-user
That person has left Discord entirely, or the lookup for them failed. Everybody the bot could still name is named, including people who have left the server.