Skip to content

Matrix and Discord bridge care and feeding

Máirín Duffy edited this page Jan 30, 2024 · 5 revisions

Sometimes the Matrix and Discord bridge breaks. It happens. Here's how to fix it.

Pre-requisite: You will need admin privileges on both the Discord and Matrix sides of each equation.

Warning: Yes, it is possible to cross the wires and bridge channel A on one chat system to channel B on the other chat system. Don't ask me how I know 🤦🏻‍♀️ So be careful about how you do your copy/paste here.

The !discord bridge command has two numbers following it. The first number is the "guild" number - that's the general Podman discord server ID. The second number is the channel number. That's the number for the specific channel. Where do these come from? I log into discord.com, go into the channel of interest, and copy/paste the numbers from the url. E.g., #podman has this URL in the browser:

https://discord.com/channels/852634929845239818/852634929845239824

The first number is guild, second is channel. Not too crazy.

The bot creating the bridge is on the Matrix side. Its id is @_discord_bot:t2bot.io. Sometimes it's slow to respond so be patient. I know it's easy to say and not to do. Sometimes it just won't respond. In those instances, I remove the bot from the channel (Matrix side), then re-invite it. Then try again.

#podman-desktop

matrix side

/invite @_discord_bot:t2bot.io

!discord bridge 852634929845239818 1085121643782873118

discord side

!matrix approve

#podman-desktop-dev

matrix side

/invite @_discord_bot:t2bot.io

!discord bridge 852634929845239818 1151903904804634744

discord side

!matrix approve

#podman

matrix side

/invite @_discord_bot:t2bot.io

!discord bridge 852634929845239818 852634929845239824

discord side

!matrix approve


Drafted by Máirín Duffy (@mairin) 30 Jan 2024