Repository navigation
Messages and Channels
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 |
| 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). |
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.
/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.
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
-
/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.
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.
The session messages belong to campaigns: see Campaigns and Sessions.
Dxcufgb's Workshop: every Foundry VTT project, video and changelog in one place · Support on Ko-fi · MIT License