Opened 8 weeks ago
#3690 new feature request
Importers: Add Discord archive importer.
| Reported by: | johnjamesjacoby | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | API - Importers | Version: | trunk |
| Severity: | normal | Keywords: | needs-design needs-patch |
| Cc: |
Description
Add support for importing Discord conversation archives while making the source-data limitations explicit.
Discord does not provide administrators with an official whole-server export. Its official Data Package contains only the requesting account's own messages and account data, so it cannot independently reproduce a server. A complete migration requires an authorized server extractor, bot/API collection, or another archive source.
Implementation should define a documented Discord archive adapter and feed its output through the reusable extraction/staging layer for non-MySQL sources. Existing converter APIs and SQL-based importers should remain compatible. Live credential collection should not be required by bbPress core.
Acceptance criteria:
- Import the useful conversation data available in an official Discord Data Package, clearly labeling it as partial.
- Define and document a stable archive format for authorized full-server extraction, with the extractor kept separate from the bbPress conversion core if appropriate.
- Map selected servers/categories/channels to forums and conversation roots and replies to bbPress topics and replies with deterministic source-ID relationships.
- Create or match WordPress users without attempting to migrate passwords.
- Preserve authorship, timestamps, reply references, edits, attachments, embeds, and supported formatting where source data permits.
- Handle bots, webhooks, deleted users, missing messages, threads, and attachment-link expiry predictably.
- Include fixture-driven regression tests and avoid implying that Discord's personal Data Package is a complete server export.
References:
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)