Skip to content

Add Discord notification channel #10

@2214962083

Description

@2214962083

Summary

CronPulse currently supports Email, Slack, and generic Webhook notifications. Many DevOps teams and open-source communities use Discord as their primary communication platform. Adding a Discord notification channel would significantly broaden CronPulse's appeal.

Problem

Users who rely on Discord for team communication cannot receive cron job alerts directly in their Discord channels. They must set up a middleman webhook relay, which adds friction and complexity.

Expected Behavior / Deliverable

  • A new "Discord" option in the notification channel settings.
  • Users can paste a Discord Webhook URL (e.g. https://discord.com/api/webhooks/...) and select which monitors trigger it.
  • Alerts are sent as rich Discord embeds with:
    • Monitor name and status (UP / DOWN / Late / Failed)
    • Timestamp
    • Link back to the CronPulse dashboard
  • Proper error handling when the webhook URL is invalid or Discord returns an error.

Implementation Hints

Acceptance Criteria

  • Discord channel type added to notification settings UI
  • Webhook URL validation
  • Rich embed alert messages sent on monitor state changes
  • "Test notification" button works for Discord
  • Unit/integration tests for the Discord notifier

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions