diff --git a/README.md b/README.md index a601ef8..dec4f74 100644 --- a/README.md +++ b/README.md @@ -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 `` 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** diff --git a/config.json.example b/config.json.example index 67378e0..9f7280b 100644 --- a/config.json.example +++ b/config.json.example @@ -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",