From 51f16780ab7788515155b09aebf933a7663f72d4 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Mon, 3 Aug 2020 18:45:47 +0200 Subject: [PATCH] Update README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4b56cf3a..9769c81f 100644 --- a/README.md +++ b/README.md @@ -13,22 +13,28 @@ Requires libolm to be installed. in Debian this is done with `apt install libolm Create a virtualenv + ``` bash mkdir MATRIX_BOT_DIR virtualenv -p python3 venv source venv/bin/activate pip install https://git.gaja-group.com/gaja-group/matrix-bot + ``` ## Usage Before you can send encrypted messages you must verify the bot with the matrix homeserver. To to login and do this use `matrix-bot verify` + ``` bash cd MATRIX_BOT_DIR source venv/bin/activate matrix-bot verify + ``` After that you can begin sending messages + ``` bash cd MATRIX_BOT_DIR source venv/bin/activate matrix-bot message "Message Content" # To send to the default room matrix-bot message -r '!yourRoomId' "Message Content" # To send to a specific room + ```