bundles/mx-puppet-discord: create registration.yaml using bw
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-09-26 15:34:12 +02:00
parent bf7e982fdb
commit 0784b85fbb
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 33 additions and 14 deletions

View file

@ -0,0 +1,15 @@
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)}'