Jelajahi Sumber

Add example config for welcome messages.

Justin Carlson 3 tahun lalu
induk
melakukan
ee61cae3de
1 mengubah file dengan 15 tambahan dan 0 penghapusan
  1. 15 0
      mautrix_signal/example-config.yaml

+ 15 - 0
mautrix_signal/example-config.yaml

@@ -196,6 +196,21 @@ bridge:
     # The prefix for commands. Only required in non-management rooms.
     command_prefix: "!signal"
 
+    # Messages sent upon joining a management room.
+    # Markdown is supported. The defaults are listed below.
+    management_room_text:
+        # Sent when joining a room.
+        welcome: "Hello, I'm a Signal bridge bot."
+        # Sent when joining a management room and the user is already logged in.
+        welcome_connected: "Use `help` for help."
+        # Sent when joining a management room and the user is not logged in.
+        welcome_unconnected: "Use `help` for help or `register` to log in."
+        # Optional extra text sent when joining a management room.
+        # additional_help: "This would be some additional text in case you need it."
+
+    # Send each message separately (for readability in some clients)
+    management_room_multiple_messages: false
+
     # Permissions for using the bridge.
     # Permitted values:
     #      relay - Allowed to be relayed through the bridge, no access to commands.