From 84872a5c05c1f3521c6135c15a8331b6dad03370 Mon Sep 17 00:00:00 2001
From: a <a@trwnh.com>
Date: Wed, 12 Mar 2025 03:18:30 +0000
Subject: [PATCH] Add notify.sh

---
 notify.sh | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 notify.sh

diff --git a/notify.sh b/notify.sh
new file mode 100644
index 0000000..ae05543
--- /dev/null
+++ b/notify.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/bash
+
+curl \
+        -X POST \
+        -H "Content-Type: application/json" \
+        -d \'{"username": "system", "content": "umi instance failed: $1"}\'
+        $DISCORD_STATUS_WEBHOOK_URL