bundlewrap/bundles/mx-puppet-discord/files/registration.yaml
Franzi 0784b85fbb
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/mx-puppet-discord: create registration.yaml using bw
2020-09-26 15:34:12 +02:00

16 lines
546 B
YAML

as_token: ${node.metadata['mx-puppet-discord']['as_token']}
hs_token: ${node.metadata['mx-puppet-discord']['hs_token']}
id: discord-puppet
namespaces:
users:
- exclusive: true
regex: '@_discordpuppet_.*'
rooms: []
aliases:
- exclusive: true
regex: '#_discordpuppet_.*'
protocols: []
rate_limited: false
sender_localpart: ${node.metadata['mx-puppet-discord']['sender_localpart']}
url: 'http://${node.metadata['mx-puppet-discord'].get('listen-addr', '127.0.0.1')}:${node.metadata['mx-puppet-discord'].get('port', 20000)}'