Tulir Asokan 3 лет назад
Родитель
Сommit
84f6337979
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      commands.go
  2. 1 1
      example-config.yaml

+ 1 - 1
commands.go

@@ -189,7 +189,7 @@ func (handler *CommandHandler) CommandSetRelay(ce *CommandEvent) {
 	}
 }
 
-const cmdUnsetRelayHelp = `set-relay - Stop relaying messages in this room.`
+const cmdUnsetRelayHelp = `unset-relay - Stop relaying messages in this room.`
 
 func (handler *CommandHandler) CommandUnsetRelay(ce *CommandEvent) {
 	if !handler.bridge.Config.Bridge.Relay.Enabled {

+ 1 - 1
example-config.yaml

@@ -213,7 +213,7 @@ bridge:
         "@admin:example.com": admin
 
     relay:
-        # Whether relay mode should be allowed. If allowed, `!signal set-relay` can be used to turn any
+        # Whether relay mode should be allowed. If allowed, `!wa set-relay` can be used to turn any
         # authenticated user into a relaybot for that chat.
         enabled: false
         # Should only admins be allowed to set themselves as relay users?