Document bot-owners to allow some users to send messages without a prefix
This commit is contained in:
parent
8e85ba99e5
commit
30b5c6d3c6
@ -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**
|
||||
|
||||
|
@ -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",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user