Arthur Koziel f0a1446830
use bitwarden to get discord webhook url
Signed-off-by: Arthur Koziel <arthur@arthurkoziel.com>
2021-07-13 18:03:04 +08:00
2021-05-27 17:41:10 +08:00
2021-05-27 17:41:10 +08:00
2021-05-21 12:29:52 +08:00
2021-05-21 12:29:52 +08:00

Description

This role configures matterbridge chat bridging software.

Details

The software runs as a docker container from 42wim/matterbridge.

The configuration file template is in templates/matterbridge.yaml.j2.

Configuration

matterbridge_bridges:
  status:
    bridge:
      Nick: 'bridge.stateofus.eth'
      PrivateKey: '0x04abcXYZ'
      RemoteNickFormat: '**{NICK}**@*{PROTOCOL}*: '

  discord:
    status-pub:
      Token: 'super-secret-token'
      Server: 'Status Community'
      RemoteNickFormat: '{NICK}@{PROTOCOL}'

matterbridge_gateways:
  - { status: "tech",   discord: [{ srv: "status-pub", ch: "tech" }] }
  - { status: "music",  discord: [{ srv: "status-pub", ch: "music" }] }
  - { status: "movies", discord: [{ srv: "status-pub", ch: "movies" }] }

Known Issues

If your bridge is posting in a Discord channel but doesn't receive mesages from it you might have to adjust the channel-level permissions to give the bot message read rights.

Links

Description
Ansible role for MatterBridge
Readme
Languages
Jinja 100%