misc/bash/miscChat.sh
2025-03-30 16:06:31 -04:00

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