Documentation
ChatWizard v1 is in development. This page describes how it is designed to work, and commands or screens may change before launch.
Adding ChatWizard to a server
You need Discord's Manage Server permission on the server. Use Add to Discord, pick the server, and approve. ChatWizard asks for two channel permissions, View Channels and Read Message History, which let it read a channel's history when someone exports it. It needs both in every channel or thread you want to export.
Who can export
By default, only members with the Manage Server permission can run /export. An admin can name more roles whose members may export with /setup, and /chatwizard status shows who can. Exports hold other members' messages, so choose those roles with care.
Being allowed to export is not enough on its own: you can export only a channel or thread you can read yourself, with View Channels and Read Message History there.
Running an export
Run /export and choose:
- The channel or thread to export. Leave it out to export the one you're in.
- The format: HTML (the default), JSON, CSV, or TXT.
- A date range, if you want only some of the messages:
after:keeps the messages on or after a date, andbefore:keeps the ones before a date, each written YYYY-MM-DD, in UTC. Leave both out to start from the beginning of the history.
ChatWizard reads the history, builds the file, and replies with a download link. The reply is visible only to you, and nothing is posted in the channel. A large channel can take a while to export, up to the limits below.
Limits
- 12 minutes or 100,000 messages. One export stops 12 minutes after you run
/export, or at 100,000 messages, whichever comes first. (Discord gives a bot 15 minutes to answer a command, and ChatWizard keeps the last 3 to finish the file and send the link.) The file and the reply then say the export was truncated at N messages and give the date to use asafter:in your next/export. That export starts at the beginning of the day, so some messages from that day can appear in both files. - One export at a time per server. While one export is running, another
/exporton the same server is refused. Try again when it finishes. - Private threads. To pick a private thread in the channel option, you need the Manage Threads permission. A member of the thread can run
/exportinside it instead.
Formats
- HTML opens in any browser. Its layout is modeled on DiscordChatExporter by Tyrrrz (MIT License).
- JSON is structured data, for scripts and other tools.
- CSV opens in a spreadsheet.
- TXT is plain text.
Images and files attached to messages, avatars, and custom emoji are links to Discord's servers, not copies, in every format. Discord's attachment links expire after about a day, so attachments in an export stop loading then, even though the export itself still opens and its messages stay readable.
Links and expiry
A download link expires 7 days after the export by default. When it expires, the file is deleted, and ChatWizard keeps nothing from that export. Download the file before then if you need to keep it. Anyone who has the link may be able to open the file until it expires, so share it only with people who should see that conversation.
Trial and subscription
ChatWizard is $3 per year after a 30-day free trial. The subscription belongs to one person, through their TGWAB account, and covers all their servers. Manage or cancel it in your TGWAB account at account.tgwab.us.
Removing ChatWizard
Remove the bot from your server, and it can no longer read the server's channels. ChatWizard deletes the server's settings within a day, and you can also ask us to delete them at any time through the support page. An export already made is deleted no later than when its link expires.
Privacy
ChatWizard reads a channel's history only while it runs an export someone allowed asked for, sends the link only to that person, and deletes the file when the link expires. The privacy policy lists exactly what it reads and keeps.
Troubleshooting
You can't run /export. Check that you have Manage Server or one of the roles an admin named. A channel won't export. Check that you and ChatWizard both have View Channels and Read Message History in that channel or thread. The link no longer works. It has expired and the file is gone; run /export again. Still stuck? Reach out via the support page.