-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
github-actions[bot] edited this page Apr 11, 2026
·
3 revisions
All commands are slash commands registered via the Discord API. Each can be individually enabled/disabled via feature flags.
Show the current page status and active incidents.
- Permission: None (channel access check applies)
- Response: Ephemeral embed with overall status indicator, color-coded by severity, and a list of active incidents
-
Target resolution: If
targetis omitted, resolves to all monitors matching the current channel, or the only configured monitor. Errors if ambiguous. When multiple monitors match, returns one embed per monitor.
Post the current status snapshot into the configured channel as a visible message. Does not mark anything as sent in state.
- Permission: Manage Server
- Response: Ephemeral confirmation + visible status embed in the monitor's channel
- Use case: Verify embed rendering without affecting incident tracking
Replay active incident timelines into their threads.
- Permission: Manage Server
- Response: Ephemeral summary of replayed/skipped incidents
-
Behavior:
- Fetches all active incidents from the API
- For each incident, checks for an existing thread
- Deduplicates against both tracked state and actual thread content (scans message footers for update IDs)
- Posts only missing updates, preserving chronological order
- Skips incidents that already have complete live threads
- Use case: Recover after state loss, manual cleanup, or to backfill a newly added monitor
Find and ghost dangling incident threads that are no longer in the status page API.
- Permission: Manage Server
- Response: Ephemeral summary of ghosted incidents
-
Target resolution: If
targetis omitted, cleans all monitors. Otherwise cleans only the specified monitor. -
Behavior:
- Fetches current incidents from the status page API for each target monitor
- Identifies tracked incidents that are unresolved in state but absent from the API
- Ghosts them (grey embed + strikethrough text + unpin + archive thread)
- Syncs
openIncidentIdsfrom the API
- Use case: Remove dangling threads that persisted after incidents aged out of the API between polls
Delete recent bot-authored messages in the current channel.
- Permission: Manage Server
- Channel: Must be used in a configured monitor channel.
-
Target resolution: If
targetis omitted, cleans all monitors in the channel. When a target is specified, only that monitor's threads and parent messages are removed. -
Options:
-
limit(integer, 1-100, default 100): How many recent messages to inspect
-
-
Behavior:
- Deletes all incident threads and their bot-authored messages
- Bulk-deletes bot-authored channel messages (respects Discord's 14-day limit)
- Removes per-incident state entries; preserves monitor-level
postedUpdateIdsfor resolved incidents (preventing re-post flooding) but strips them for active incidents (so they re-create threads on the next poll)
- Use case: Reset a channel after testing or reconfiguration
Add a new status page monitor at runtime. Both Statuspage.io and incident.io URLs are supported — the provider is auto-detected from the URL.
- Permission: Manage Server
-
Options:
-
url(required): Public status page URL (e.g.https://status.atlassian.comorhttps://status.openai.com) -
channel(optional): Target text channel; defaults to the current channel -
label(optional): Display name for the monitor -
id(optional): Unique monitor ID; auto-derived from the page name if omitted -
icon_url(optional): Custom icon URL for embeds; overrides auto-detected favicon
-
-
Validation:
- Probes each supported provider (incident.io first, then Statuspage.io) and picks the first match. The detected provider is saved on the monitor entry so future polls skip detection.
- Checks bot permissions in the target channel
- Rejects duplicate IDs or duplicate URLs (same status page can only be tracked once per server; different status pages in the same channel are allowed)
-
Side effects:
- Persists to
data/monitors.json - Re-registers commands for updated autocomplete
- Triggers an immediate first poll
- Caches the page favicon (or
icon_urloverride) for embed icons
- Persists to
Remove a runtime-added monitor.
- Permission: Manage Server
-
Behavior:
- Environment-configured monitors are protected and cannot be removed
- Existing threads are preserved; use
/cleanto remove them - Re-registers commands for updated autocomplete
List all configured monitors with metadata.
- Permission: Manage Server
-
Response: Ephemeral embed listing each monitor with:
- Source (
envorruntime) - URL and channel
- Who added it and when (runtime monitors only)
- Source (
-
/status,/testpost,/replay,/cleanup,/clean: Autocompletestargetfrom all configured monitors (ID and label) -
/monitor remove: Autocompletesidfrom runtime monitors only (env monitors are protected)