A production‑ready Python library for discord.py bots that exports complete Discord channel histories into authentic, interactive HTML transcripts.
- 🎨 Authentic Discord Style – Dark theme, embeds, buttons, custom emojis, and markdown.
- 🖱️ Interactive Profiles – Click any user to see a tooltip with banner, badges, roles, and "About Me".
- ⚡ Efficient & Resilient – Adaptive rate‑limiting, user data caching, async I/O.
- 🔗 Smart Mentions – Resolves user, role, and channel IDs to display names.
- 🛡️ Production‑Ready – Full error handling and fallbacks.
Clickable user profile tooltip
pip install py-discord-html-transcripts- Copy
.env.exampleto.envand fill in your bot token and server ID. - Run
./setup.sh(Linux/macOS) orsetup.bat(Windows). - Invoke
/transcriptin any text channel.
| Variable | Description |
|---|---|
DISCORD_TOKEN |
Your bot token |
SERVER_ID |
Guild ID for command sync |
TRANSCRIPT_DIR |
Output folder (default: transcripts) |
MAX_MESSAGES |
0 = unlimited |
QUEST_BADGE_PATH |
Local path to quest badge icon |
Issues and pull requests are welcome.
GNU General Public License v3.0
Made with ❤️ by LelexTB
