Dxcufgb's Workshop

Automatic Updates

Opt-in, off by default: both installers offer to check GitHub once a day and install a newer release the same way as a manual upgrade, keeping .env and the data folder.

Linux and Windows zip installs roll back if the update fails; a Windows setup.exe update only undoes its own changes if setup itself fails.

Turning it on or off

  • Linux, while installing: --auto-update / --no-auto-update.
  • Linux, later: sudo …/install.sh --enable-auto-update / --disable-auto-update.
  • Windows, later: deploy\windows\auto-update.ps1 -Enable / -Disable.

See Automatic updates in the install guide.

Checking and updating by hand (Linux)

Option Meaning
--check-update only check: exit 0 = up to date, 10 = newer release available, other = error
--update-now install the latest release now (same path as the daily updater)

With the one-liner: … | sudo bash -s foundryvtt-discord-integration --check-update. See Install on Linux.

After an update

UPDATE_NOTIFY (default admins) sets who gets a direct message with the changelog after the bot was updated:

  • admins: owner and every Administrator of each server; needs the Server Members Intent, otherwise the bot warns and messages owners only. See Discord Application Setup.
  • owner
  • off

This page mirrors the Discord Integration wiki on GitHub.