aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOxbian <got.dacs@slmail.me>2024-07-06 22:48:22 +0200
committerOxbian <got.dacs@slmail.me>2024-07-06 22:48:22 +0200
commit6ff18be6f163f39fbb6320d3d7b5f8a8a7f082fb (patch)
tree09d85d6226e6f0dff3c461d09960626a5afe76fb /README.md
parent7145d1818350af8d793bea68a354707248666fa3 (diff)
downloadmatrix-sender-master.tar.gz
matrix-sender-master.zip
ADD: user can now specify ROOM-ID for messageHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index add85d0..c20074a 100644
--- a/README.md
+++ b/README.md
@@ -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
ArKa projects. All rights to me, and your next child right arm.