Document bot-owners to allow some users to send messages without a prefix

This commit is contained in:
Austen Adler 2017-10-26 11:39:06 -04:00
parent 8e85ba99e5
commit 30b5c6d3c6
2 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,7 @@ First, copy config.json.example to config.json. Then fill in the fields:
* `hosts.bare`: Just the (sub)domain of the server.
* `user_id_format`: A Python `str.format`-style string to format user IDs as
* `db_url`: A SQLAlchemy URL for the database. See the [SQLAlchemy docs](http://docs.sqlalchemy.org/en/latest/core/engines.html).
* `bot_owners`: A list of matrix users the bot won't use a `<username>` prefix for. Can be left blank to print a prefix for all matrix users. Useful if you would like the bridge to replace Telegram for yourself, but also want to allow others to use the Matrix room.
**Synapse configuration**

View File

@ -12,6 +12,12 @@
"bare": "DOMAIN.TLD"
},
"bot_owners": [
"@youruser:DOMAIN.TLD",
"@youruser:matrix.org",
"@youruser:example.com"
],
"user_id_format": "@telegram_{}:DOMAIN.TLD",
"db_url": "sqlite:///database.db",