diff --git a/DREAMMAKER.sh b/DREAMMAKER.sh index 3169ab7..5607894 100644 --- a/DREAMMAKER.sh +++ b/DREAMMAKER.sh @@ -4,13 +4,13 @@ set -e # faiulure is not tolerated here ### CO:1C:6A is phone in bt pair mode ### 71:D9:79 is com,mon for testyin vendor_ids=('1C' '71:D9:79' '00:25:DF' '00:58:28' '00:C0:D4' '84:70:03') -webhook_file=/usr/share/DREAMMAKER/.discord_url -tag_file=/usr/share/DREAMMAKER/.discord_tag +webhook_file="/usr/share/DREAMMAKER/.discord_url" +tag_file="/usr/share/DREAMMAKER/.discord_tag" username='[DЯΣΛMMΛKΣЯ]' send_discord_webhook() { - webhook_url="$(cat $webhook_file)" - tag="$(cat $tag_file)" + webhook_url="$(cat \"$webhook_file\")" + tag="$(cat \"$tag_file\")" # send the webhook post curl -sS -X POST \