diff --git a/lib/functions.sh b/lib/functions.sh index 9defae5..30b99a3 100755 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -8,7 +8,7 @@ send_discord_notification() { if [ -n "$DISCORD_WEB_HOOK" ]; then curl \ -H "Content-Type: application/json" \ - -d "{ \"content\":\"\", \"embeds\":[{ \"title\":\"Vaultwarden Backup\", \"description\":\"${message}\", \"color\":${color}} ]}" \ + -d "{ \"content\":\"\", \"embeds\":[{ \"title\":\"${PROGRAM_NAME}\", \"description\":\"${message}\", \"color\":${color}} ]}" \ $DISCORD_WEB_HOOK fi }