The bot posts five types of message:
| Message type | Posted when |
|---|---|
| status | Foundry stops answering (๐ด Foundry is down) and when it answers again (๐ข Foundry is back up, with the downtime). Optionally pings a role on unexpected downtime. |
| restart | A restart window is set (for example 04:00โ04:15 every day). Downtime inside the window is reported calmly as a restart. If Foundry is still down when the window (plus a grace period) has passed, the bot raises โ ๏ธ Foundry did not come back. Optionally announces when the window opens. |
| world | A world is launched (๐ World started, with the world's title and game system), switched, or returned to the setup screen. |
| updates | Foundry itself, an installed system or an installed module changes version (also newly installed and removed packages, if wanted). Every update is announced exactly once, even across bot restarts. |
| session | A campaign's session is near and its world is up (๐ฒ The world is ready to join, tagging the campaign's players: when the world starts within 30 minutes of a planned session or while it is under way, or 30 minutes before the session when the world is already open), and 15 minutes before a planned session when that world is not running (โฐ tagging the DM). |
Where messages go
Each message type can go to its own channel, several types can share a channel, and a default channel catches anything without its own. The bot can sit in more than one Discord server; channels are configured per server.
| Command | What it does |
|---|---|
/channel set type:default |
Post everything without its own channel here. Run it in the channel where messages should go. |
/channel set type channel |
Post one kind of message (default, status, world, updates, restart, session) in a channel. |
/channel clear type ยท /channel list |
Stop posting a kind of message / show the current routing. |
/channel mention role |
Role to ping when Foundry goes down unexpectedly. |
/test-message type |
Post a test message to see where a type ends up. |
These are admin commands; see Commands. The Admin Page sets the same routing from dropdowns.
Turning announcements on and off
/monitor enable|disable what turns status, world, updates or all monitoring on or off. /monitor show shows the monitor settings, /monitor check checks Foundry right now.
Restart windows
A restart window tells the bot when Foundry is expected to restart, for example 04:00โ04:15 every day. Downtime inside the window is reported calmly as a restart. If Foundry is still down when the window (plus a grace period) has passed, the bot raises โ ๏ธ Foundry did not come back. It can also announce when the window opens.
/restart-window set start duration [days] [timezone] [grace] [announce]sets it, e.g.start:04:00 duration:15 days:daily./restart-window showshows the window and its next opening;/restart-window clearremoves it.- The default timezone for restart windows is
TIMEZONEin.env(defaultUTC, an IANA name such asEurope/Stockholm); see the Configuration Reference.
/status shows the next restart window to everyone.
Updates
Every update is announced exactly once, even across bot restarts. /updates settings chooses what counts as an update; /updates reset takes the current versions as a fresh starting point. See Package Updates and Modules.
Sessions
The session messages belong to campaigns: see Campaigns and Sessions.
This page mirrors the Discord Integration wiki on GitHub.