Install
openclaw skills install webhook-promo-schedulerSchedule and send promo/alert messages to a Discord webhook URL with an anti-spam ledger.
openclaw skills install webhook-promo-schedulerSchedule and send promo/alert messages to a Discord webhook URL with an anti-spam ledger.
content)--dry-run so you can validate cadence/ledger without sending anythingscripts/post_webhook.py : Discord webhook POST helper (stdlib only)scripts/ledger.py : JSONL ledger helpers (stdlib only)scripts/promo_scheduler.py : CLI tool (stdlib only)~/.openclaw/webhook-promo-ledger.jsonl--ledger-path /path/to/ledger.jsonldate, channel, status, hash--dry-run before enabling live sends.Q: This exposes a Discord webhook — is that dangerous?
A: Treat it like a password. This tool won’t print it, supports secret injection, and has --dry-run + a ledger so you can validate behavior before turning on live posting. If you want zero direct exposure, put a relay (Cloudflare Worker / Supabase Edge Function) in front and keep the real webhook private.
One-shot post:
python3 {baseDir}/scripts/promo_scheduler.py post \
--webhook-url <URL> \
--channel openclaw-discord \
--message "Hello from OpenClaw!"
Draft rotation:
python3 {baseDir}/scripts/promo_scheduler.py rotate \
--webhook-url <URL> \
--channel openclaw-discord \
--messages-file messages.txt
messages.txt format:
# are ignored