Update README.md

This commit is contained in:
Ville Ranki 2021-04-21 18:06:54 +03:00 committed by GitHub
parent 4228779748
commit 52414d5da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -578,10 +578,11 @@ docker-compose up
## Env variables ## Env variables
`MATRIX_USER`, `MATRIX_ACCESS_TOKEN` and `MATRIX_SERVER` should be self-explanatory. `MATRIX_USER` is the full MXID (not just username) of the Matrix user. `MATRIX_ACCESS_TOKEN`
Set `JOIN_ON_INVITE` (default true) to false if you don't want the bot automatically joining rooms. and `MATRIX_SERVER` should be self-explanatory. Set `JOIN_ON_INVITE` (default true) to false
if you don't want the bot automatically joining rooms.
You can get access token by logging in with Riot and looking from Settings / Help & About. You can get access token by logging in with Element Android and looking from Settings / Help & About.
`BOT_OWNERS` is a comma-separated list of matrix id's for the owners of the bot. `BOT_OWNERS` is a comma-separated list of matrix id's for the owners of the bot.
Some commands require sender to be bot owner. Some commands require sender to be bot owner.