Note
If you have error 400 when sending the notification, that means that your message is too long, since Discord has a character limit of 2000.
If you don't care about the logs, remove {{ escape message }} from the description field. Otherwise, seek another way to send notifications (i.e. via Cloudflare worker that truncates the description field).
- Add Notification Target
- Endpoint name:
Discord - Method:
POST