Fix syntax errors master
authorNeil Muller <drnlmuller@gmail.com>
Mon, 1 Feb 2021 13:46:09 +0000 (15:46 +0200)
committerNeil Muller <drnlmuller@gmail.com>
Mon, 1 Feb 2021 13:46:09 +0000 (15:46 +0200)
discord

diff --git a/discord b/discord
index a59986946349ba0b9a34ed089576c3dce4f6a5ef..729d48705d83e47640562b359f616428197048ed 100755 (executable)
--- a/discord
+++ b/discord
@@ -216,9 +216,9 @@ function notify_discord() {
     exit 1
   fi
 
     exit 1
   fi
 
-  webhook_url="$webook_url/slack"
+  webhook_url="$webhook_url/slack"
 
 
-  payload="{${msg}"
+  payload="{${msg}"
 
   if [ -n "$username" ]; then
     payload="$payload, \"username\": \"$username\""
 
   if [ -n "$username" ]; then
     payload="$payload, \"username\": \"$username\""