mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-10 00:02:37 -06:00
Use max message ID for incremental exports, validate custom cron expressions, drop eval from host/preflight paths, restrict reauth to executable repo scripts, and run smoke tests in CI. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
755 B
Plaintext
18 lines
755 B
Plaintext
# Copy this file to scrape.env and fill in your real values.
|
|
DISCORD_TOKEN=
|
|
# Optional: file whose first line contains DISCORD_TOKEN. Useful for token rotation without editing this env file.
|
|
DISCORD_TOKEN_FILE=
|
|
# Optional (manual runs only): command to refresh Discord auth/session before one retry.
|
|
# Optional absolute path to an executable reauth script under the repository root.
|
|
# Example: DCE_REAUTH_COMMAND="/path/to/repo/scripts/reauth-discord.sh"
|
|
DCE_REAUTH_COMMAND=
|
|
TZ=UTC
|
|
|
|
# Match these to the host user that should own created files.
|
|
DCE_UID=1000
|
|
DCE_GID=1000
|
|
|
|
# For rootless podman, set this to keep-id so mounted archive roots stay writable.
|
|
# Leave it empty on Docker unless you explicitly need a user namespace mode there.
|
|
DCE_USERNS_MODE=
|