This commit is contained in:
2026-04-23 02:53:41 -06:00
parent 22ac311975
commit e4d2fcfe64
+4 -4
View File
@@ -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 \