Преглед на файлове

Merge pull request #146 from justinbot/justinbot/welcome-text-config

Add example config for custom welcome messages
Sumner Evans преди 3 години
родител
ревизия
feb6b0296a
променени са 1 файла, в които са добавени 15 реда и са изтрити 0 реда
  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: ""
+
+    # 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.