From ec068dd19abc5263d14f868bc6b513d99a46090c Mon Sep 17 00:00:00 2001 From: mag37 Date: Mon, 14 Oct 2024 06:28:35 +0200 Subject: [PATCH] Fixed typo. --- notify_templates/notify_discord.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notify_templates/notify_discord.sh b/notify_templates/notify_discord.sh index 9bbf64b..b29966a 100644 --- a/notify_templates/notify_discord.sh +++ b/notify_templates/notify_discord.sh @@ -21,5 +21,8 @@ send_notification() { DiscordWebhookUrl="PasteYourFullDiscordWebhookURL" MsgBody="{\"username\":\"$FromHost\",\"content\":\"$MessageBody\"}" + curl -sS -o /dev/null --fail -X POST -H "Content-Type: application/json" -d "$MsgBody" "$DiscordWebhookUrl" +} +