2020-04-04 15:54:48 +00:00
|
|
|
bridge:
|
|
|
|
port: ${node.metadata['mx-puppet-discord'].get('port', 20000)}
|
2020-04-04 16:05:37 +00:00
|
|
|
bindAddress: ${node.metadata['mx-puppet-discord'].get('listen-addr', '127.0.0.1')}
|
2020-04-04 15:54:48 +00:00
|
|
|
domain: ${node.metadata['mx-puppet-discord']['homeserver']['domain']}
|
|
|
|
homeserverUrl: ${node.metadata['mx-puppet-discord']['homeserver']['url']}
|
2020-05-16 08:06:40 +00:00
|
|
|
enableGroupSync: true
|
2020-04-04 15:54:48 +00:00
|
|
|
|
|
|
|
presence:
|
|
|
|
enabled: true
|
|
|
|
interval: 500
|
2020-05-16 08:06:40 +00:00
|
|
|
disableStatusState: true
|
2020-04-04 15:54:48 +00:00
|
|
|
|
|
|
|
provisioning:
|
|
|
|
whitelist:
|
|
|
|
% for regex in node.metadata['mx-puppet-discord']['allowed-users']:
|
|
|
|
- "${regex}"
|
|
|
|
% endfor
|
|
|
|
|
2021-07-11 10:29:05 +00:00
|
|
|
namePatterns:
|
|
|
|
user: ":name (Discord)"
|
|
|
|
userOverride: ":displayname (Discord)"
|
2021-07-11 14:38:59 +00:00
|
|
|
room: "#:name (:guild)"
|
2021-07-11 10:29:05 +00:00
|
|
|
group: ":name"
|
|
|
|
|
2020-04-04 15:54:48 +00:00
|
|
|
database:
|
|
|
|
connString: "postgres://${node.metadata['mx-puppet-discord']['database']['user']}:${node.metadata['mx-puppet-discord']['database']['password']}@${node.metadata['mx-puppet-discord']['database'].get('host', 'localhost')}/${node.metadata['mx-puppet-discord']['database']['database']}?sslmode=disable"
|
|
|
|
|
|
|
|
logging:
|
2021-03-28 09:29:16 +00:00
|
|
|
console:
|
|
|
|
level: info
|
|
|
|
disabled:
|
|
|
|
- PresenceHandler
|
|
|
|
- module: bot-sdk-MatrixLiteClient
|
|
|
|
regex: /_matrix/client/r0/presence/
|
2020-04-04 15:54:48 +00:00
|
|
|
lineDateFormat: YYYY-MM-DD HH:mm:ss.SSS
|