mom: add [SILENT] response marker for periodic events

When mom responds with just [SILENT], the status message is deleted
and nothing is posted to Slack. Useful for periodic events that check
for activity but find nothing to report.
This commit is contained in:
Mario Zechner
2025-12-12 22:50:12 +01:00
parent d6809328da
commit 8ba6aa6627
5 changed files with 36 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
- One-shot events: trigger at specific time (for reminders)
- Periodic events: trigger on cron schedule (for recurring tasks)
- `SlackBot.enqueueEvent()` for queueing events (max 5 per channel)
- `[SILENT]` response marker: deletes status message, posts nothing to Slack (for periodic events with nothing to report)
- Events documentation in `docs/events.md`
- System prompt section explaining events to mom