umi/contrib/notify.sh
2025-03-12 03:35:38 +00:00

7 lines
181 B
Bash

#!/usr/bin/bash
curl \
-X POST \
-H "Content-Type: application/json" \
-d '{"username": "system", "content": "'$1'"}' \
$DISCORD_STATUS_WEBHOOK_URL