From 17dbcb96390369c5c757ce9e9ffacedfb955521b Mon Sep 17 00:00:00 2001 From: luatan Date: Sat, 17 Feb 2024 21:48:29 +0100 Subject: [PATCH] discord only sends info --- scripts/helper_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper_functions.sh b/scripts/helper_functions.sh index 4be52b842..85b69f513 100644 --- a/scripts/helper_functions.sh +++ b/scripts/helper_functions.sh @@ -120,7 +120,7 @@ Log() { DiscordMessage() { local message="$1" local level="$2" - if [ -n "$level" ]; then + if [ -z "$level" ]; then level="info" fi if [ -n "${DISCORD_WEBHOOK_URL}" ]; then