diff options
author | Oxbian <got.dacs@slmail.me> | 2023-04-24 13:29:06 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-04-24 13:29:06 +0200 |
commit | 217660d0cfdcbe3233019a80eb2dbecbd7a963dc (patch) | |
tree | fed4e29c896ebb35eff8391fa4897190aeca3e74 | |
parent | f2dd7b531225347f3a2365144156429d7f98b0a7 (diff) | |
download | matrix-sender-217660d0cfdcbe3233019a80eb2dbecbd7a963dc.tar.gz matrix-sender-217660d0cfdcbe3233019a80eb2dbecbd7a963dc.zip |
fix echo color message send
-rwxr-xr-x | matrix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |