Note: bridging to Discord can also happen via the matrix-appservice-discordand mautrix-discord bridges supported by the playbook.
The playbook can install and configure mx-puppet-discord for you.
See the project page to learn what it does and why it might be useful to you.
To enable the Discord bridge, add the following configuration to your inventory/host_vars/matrix.example.com/vars.yml file:
matrix_mx_puppet_discord_enabled: true
After configuring the playbook, run the installation command: just install-all or just setup-all
Once the bot is enabled you need to start a chat with Discord Puppet Bridge with the handle @_discordpuppet_bot:example.com (where example.com is your base domain, not the matrix. domain).
Three authentication methods are available, Legacy Token, OAuth and xoxc token. See mx-puppet-discord documentation for more information about how to configure the bridge.
Once logged in, send list to the bot user to list the available rooms.
Clicking rooms in the list will result in you receiving an invitation to the bridged room.
Also send help to the bot to see the commands available.