Files
tg-archive/README.md
T
Elias Wendland 48408cba61
CI and release / Run tests (push) Failing after 33s
CI and release / Detect release commit (push) Successful in 36s
CI and release / Build and publish container (push) Successful in 6m30s
CI and release / Create release (push) Successful in 15s
Release 0.2.0
2026-08-25 21:58:43 +02:00

10 lines
670 B
Markdown

# TG Archive Bot
This is the bot meant for archiving messages in TeenGovernment and related servers.
The bot archives new messages and edits, including attachments and embeds. Messages stay in the archive if they are deleted from Discord.
An image is available at git.ewenlau.net/ewenlau/tg-archive-bot:latest for the stable version and git.ewenlau.net/ewenlau/tg-archive-bot:dev for the development (or testing) version.
The web archive uses Discord OAuth2 with the `identify` scope. Add `/login/discord/callback` as a redirect in the Discord developer portal, then set `TG_BOT_DISCORD_CLIENT_ID`, `TG_BOT_DISCORD_CLIENT_SECRET`, and `TG_BOT_DISCORD_REDIRECT_URI`.