कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

webhook-promo-scheduler

marcia-assistant द्वारा

Web & Frontend Development
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Schedule and send promo/alert messages to a Discord webhook URL with an anti-spam ledger.

विवरण

यह स्किल क्या करती है

Sends promo or alert messages to a Discord webhook on a controlled schedule. A JSONL ledger enforces a maximum of one successful post per day per channel. Includes dry-run mode and URL redaction to prevent accidental spam or webhook exposure.

The built-in ledger prevents accidental duplicate posts that manual webhook scripts have no guard against.

इसे कब इस्तेमाल करें

  • Posting daily release announcements to a Discord server
  • Rotating through a list of promotional messages on a set cadence
  • Validating a posting schedule before going live with --dry-run
  • Auditing past posts via the JSONL ledger
  • Scheduling alerts to a private Discord channel without exposing the webhook URL

उदाहरण वर्कफ़्लो

इनपुट

User asks: post the next message from my rotation file to the openclaw-discord channel

एजेंट
  1. 1

    Check the ledger to verify no post has been sent to this channel today

  2. 2

    Load messages.txt and select the next unposted message in rotation

  3. 3

    Call promo_scheduler.py rotate with the webhook URL, channel, and messages file

  4. 4

    Record the result in the JSONL ledger with date, channel, status, and hash

  5. 5

    Confirm the post was sent and log is updated

आउटपुट

Message posted to Discord webhook and ledger entry written to ~/.openclaw/webhook-promo-ledger.jsonl

आवश्यकताएँ

  • Discord webhook URL

इंस्टॉलेशन

clawhub install marcia-assistant/webhook-promo-scheduler

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक