|
|
|
@ -3,8 +3,11 @@
|
|
|
|
|
homeserver:
|
|
|
|
|
# The address that this appservice can use to connect to the homeserver.
|
|
|
|
|
address: {{ matrix_mautrix_discord_homeserver_address | to_json }}
|
|
|
|
|
# Publicly accessible base URL for media, used for avatars in relay mode.
|
|
|
|
|
# If not set, the connection address above will be used.
|
|
|
|
|
public_address: {{ matrix_mautrix_discord_homeserver_public_address | to_json }}
|
|
|
|
|
# The domain of the homeserver (for MXIDs, etc).
|
|
|
|
|
domain: {{ matrix_mautrix_discord_homeserver_domain | to_json }}
|
|
|
|
|
domain: {{ matrix_mautrix_discord_homeserver_domain | to_json }}
|
|
|
|
|
# Is the homeserver actually mautrix-asmux?
|
|
|
|
|
asmux: false
|
|
|
|
|
# The URL to push real-time bridge status to.
|
|
|
|
@ -21,11 +24,11 @@ homeserver:
|
|
|
|
|
appservice:
|
|
|
|
|
# The address that the homeserver can use to connect to this appservice.
|
|
|
|
|
address: {{ matrix_mautrix_discord_appservice_address | to_json }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The hostname and port where this appservice should listen.
|
|
|
|
|
hostname: 0.0.0.0
|
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Database config.
|
|
|
|
|
database:
|
|
|
|
|
# The database type. "sqlite3" and "postgres" are supported.
|
|
|
|
@ -42,7 +45,7 @@ appservice:
|
|
|
|
|
# Parsed with https://pkg.go.dev/time#ParseDuration
|
|
|
|
|
max_conn_idle_time: null
|
|
|
|
|
max_conn_lifetime: null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The unique ID of this appservice.
|
|
|
|
|
id: discord
|
|
|
|
|
# Appservice bot details.
|
|
|
|
@ -56,7 +59,7 @@ appservice:
|
|
|
|
|
# Whether or not to receive ephemeral events via appservice transactions.
|
|
|
|
|
# Requires MSC2409 support (i.e. Synapse 1.22+).
|
|
|
|
|
ephemeral_events: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
|
|
|
|
|
as_token: {{ matrix_mautrix_discord_appservice_token | to_json }}
|
|
|
|
|
hs_token: {{ matrix_mautrix_discord_homeserver_token | to_json }}
|
|
|
|
@ -126,10 +129,10 @@ bridge:
|
|
|
|
|
# instead of users having to find an access token and run `login-matrix`
|
|
|
|
|
# manually.
|
|
|
|
|
login_shared_secret_map: {{ matrix_mautrix_discord_bridge_login_shared_secret_map|to_json }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The prefix for commands. Only required in non-management rooms.
|
|
|
|
|
command_prefix: "{{ matrix_mautrix_discord_command_prefix }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Messages sent upon joining a management room.
|
|
|
|
|
# Markdown is supported. The defaults are listed below.
|
|
|
|
|
management_room_text:
|
|
|
|
@ -141,7 +144,7 @@ bridge:
|
|
|
|
|
welcome_unconnected: "Use `help` for help or `login` to log in."
|
|
|
|
|
# Optional extra text sent when joining a management room.
|
|
|
|
|
additional_help: ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# End-to-bridge encryption support options.
|
|
|
|
|
#
|
|
|
|
|
# See https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html for more info.
|
|
|
|
@ -190,7 +193,7 @@ bridge:
|
|
|
|
|
# session before changing it. The Matrix spec recommends 100 as the
|
|
|
|
|
# default.
|
|
|
|
|
messages: 100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Settings for provisioning API
|
|
|
|
|
provisioning:
|
|
|
|
|
# Prefix for the provisioning API paths.
|
|
|
|
@ -198,7 +201,7 @@ bridge:
|
|
|
|
|
# Shared secret for authentication. If set to "generate", a random secret will be generated,
|
|
|
|
|
# or if set to "disable", the provisioning API will be disabled.
|
|
|
|
|
shared_secret: generate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Permissions for using the bridge.
|
|
|
|
|
# Permitted values:
|
|
|
|
|
# relay - Talk through the relaybot (if enabled), no access otherwise
|
|
|
|
|