fix(auth): add host retry flow for discord scrape

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Your Name
2026-05-24 21:07:55 -05:00
parent d63cc1ef2f
commit 090884fed6
7 changed files with 278 additions and 45 deletions

View File

@@ -1,5 +1,10 @@
# 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.
# Example: DCE_REAUTH_COMMAND="agent-browser --headed open https://discord.com/channels/@me"
DCE_REAUTH_COMMAND=
TZ=UTC
# Match these to the host user that should own created files.