7 lines
218 B
Bash
7 lines
218 B
Bash
#!/usr/bin/bash
|
|
|
|
curl \
|
|
-X POST \
|
|
-H "Content-Type: application/json" \
|
|
-d \'{"username": "system", "content": "umi instance failed: `'$1'` has stopped"}\' \
|
|
$DISCORD_STATUS_WEBHOOK_URL
|