mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 03:13:16 +00:00
docs(hermes): document replying only when tagged in Telegram groups
This commit is contained in:
1 parent
614875f295
commit
85b8a5b1ef
5 files changed
+10
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -66,6 +66,16 @@ To edit a value by hand, change it in `/opt/data/.env` from a shell in the
|
||||
container, as the `hermes` user, then run
|
||||
`/opt/hermes/.venv/bin/hermes gateway restart`.
|
||||
|
||||
In groups the bot answers only when tagged: `telegram.require_mention` is
|
||||
`true` in `/opt/data/config.yaml`, set with
|
||||
`/opt/hermes/.venv/bin/hermes config set telegram.require_mention true`
|
||||
followed by a gateway restart. A group message then needs an `@botusername`
|
||||
mention, a `/command@botusername`, or a reply to one of the bot's messages;
|
||||
DMs are not gated. Upstream defaults it to `false`, answering every group
|
||||
message the bot can see. It lives in the volume for the same reason as the
|
||||
allow-lists: the gateway reads it from the profile, not the container
|
||||
environment.
|
||||
|
||||
## Storage
|
||||
|
||||
| Volume | Mount | Holds |
|
||||
|
||||
Reference in new issue
Block a user