aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxbian <got.dacs@slmail.me>2023-04-24 13:29:06 +0200
committerOxbian <got.dacs@slmail.me>2023-04-24 13:29:06 +0200
commit217660d0cfdcbe3233019a80eb2dbecbd7a963dc (patch)
treefed4e29c896ebb35eff8391fa4897190aeca3e74
parentf2dd7b531225347f3a2365144156429d7f98b0a7 (diff)
downloadmatrix-sender-217660d0cfdcbe3233019a80eb2dbecbd7a963dc.tar.gz
matrix-sender-217660d0cfdcbe3233019a80eb2dbecbd7a963dc.zip
fix echo color message send
-rwxr-xr-xmatrix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix.sh b/matrix.sh
index 812b8a6..91a6904 100755
--- a/matrix.sh
+++ b/matrix.sh
@@ -82,7 +82,7 @@ send_message() {
fi
request $(curl -XPUT -H "Authorization: Bearer ${MATRIX_TOKEN}" -H "Content-Type: application/json" --data "$data" \
"https://${MATRIX_HOMESERVER#https://}/_matrix/client/r0/rooms/$MATRIX_ROOM_ID/send/m.room.message/$id")
- echo "\033[1;32m[v] Message sent\033[0m"
+ echo -e "\033[1;32m[v] Message sent\033[0m"
}
# Show the help menu
ArKa projects. All rights to me, and your next child right arm.