8 lines
167 B
Bash
Executable File
8 lines
167 B
Bash
Executable File
#!/bin/bash
|
|
|
|
msgString=$@
|
|
|
|
curl -XPOST \
|
|
-d "$(jq -cn --arg msgtype 'm.text' --arg body "$msgString" '{msg: $ARGS.named}' | jq -s add | jq .msg)" \
|
|
#WEBHOOK URL
|