Skip to main content

Discord

The Discord Bridge allows you to link Matrix rooms with Discord chats. Users who are active on Matrix can also communicate with participants in Discord without using the Discord app directly.This also creates seamless integration in groups where individual members are in Discord or Matrix, for example, and allows you to collaborate across different platforms.

Our Matrix-Bridges Beta is running!

Thank you for your understanding that temporary outages may still occur, especially in the early days.

We are currently hosting the Discord Bridge from mautrix.

Features of the bridge

Features

You can find the official feature list at Mautrix.

Here is a selection of the central functions:> Legend:

M→D Matrix to Discord D→M Discord to Matrix M↔D Bidirectional

  • Message content (text, formatting, files, No Custom-Emojis) M↔D
  • Edit and delete messages M↔D
  • Reactions to messages M↔D
  • Profile pictures of users M↔D
  • Typing notifications M↔D
  • Synchronize message history D→M
  • Read receipts D↔M
  • Messages from unauthenticated Matrix users via relay bot M→D

Prerequisites

To use the Discord Bridge, you must fulfill the following requirements:

  • Matrix account on an instance hosted by Ossrox with a booked bridges option
  • Discord account and mobile app to be linked to the bridge

Setup

The setup of the Discord Bridge is divided into a few points:

  • Create a new direct message in Matrix to @discordbot:bridges.osrx.chat or click here.
  • With help you can display a list of possible Discord Bridge commands
  • First you have to log in with your Discord account, which you can currently only do by scanning a QR code with the Discord mobile app (login or login-qr).
  • The Discord Bridge will now start synchronizing your chats. This can take a while depending on the number of current requests. Private chats are usually synchronized and displayed when new messages are received.

FAQ

  • How can I exclude individual chats from synchronization with Matrix? - Simply leave the chat room. You can also have the room created again later via bot commands, this works via the command create-portal.
  • How can I delete all Discord chats in Matrix? - Send logout to the Discord Bridge Bot. You will then be automatically removed from all Discord chats and the data will be completely deleted a few days later.
  • How many chats and messages are synchronized? - Initially, the 15 most recent chats are synchronized, even with groups of up to 1000 members. The last 100 messages are loaded. For further chats, a room is automatically created with the next incoming message.
  • How long is my data stored? - The Bridges server stores text messages for 24 hours and media data for one year. After that they are deleted. They may still be stored in server backups for a certain period of time, but not readable by us, as the chats themselves are end-to-end encrypted.
  • How can I synchronize Discord servers? - You can display your Discord servers using the command guilds status. You can then have them bridged via guilds bridge <ID>.

Security and data protection

The security and protection of your personal data is an important and difficult issue when using bridges. The Discord Bridge connects two systems with different data protection guidelines and standards. It is important to consider the following aspects when bridging:

  • Privacy Policy: We provide you with the Discord Bridge as a processor. As the responsible party, you must be familiar with Discord's data protection regulations and be aware of the data processing. By using the Discord Bridge, data will be transferred from one system to another, which affects the applicability of the respective data protection guidelines. Furthermore, data may be transferred to countries with different data protection levels.
  • Encryption**: Although messages within Matrix are protected via end-to-end encryption, the protection provided by Discord does not necessarily correspond to the same level.

Questions / comments / hints

Something missing in this guide? Please let us know!