diff options
author | Oxbian <got.dacs@slmail.me> | 2024-07-06 22:48:22 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2024-07-06 22:48:22 +0200 |
commit | 6ff18be6f163f39fbb6320d3d7b5f8a8a7f082fb (patch) | |
tree | 09d85d6226e6f0dff3c461d09960626a5afe76fb /README.md | |
parent | 7145d1818350af8d793bea68a354707248666fa3 (diff) | |
download | matrix-sender-master.tar.gz matrix-sender-master.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -24,36 +24,36 @@ First you need to edit the script with your homeserver url & the roomID After this you need to get your token ```sh -./matrix-sender -t <username> <password> +matrix-sender -t <username> <password> ``` Once all is setup, you can send messages: - Simple message ```sh -./matrix-sender -s <message> +matrix-sender -s {<room-id>} <message> ``` - or an HTML formatted message ```sh -./matrix-sender -html <message> +matrix-sender -html {<room-id>} <message> ``` For help you can use: ```sh -./matrix-sender -h +matrix-sender -h ``` or ```sh -./matrix-sender --help +matrix-sender --help ``` **Example** ```bash -./matrix-sender -s 'Hello world!' +matrix-sender -s 'Hello world!' ``` ```bash -./matrix-sender -html '<h1 class="test"> t e s t </h1>' +matrix-sender -html '<h1 class="test"> t e s t </h1>' ``` ## Contributing |