- Open a private chat with the bridge bot. Usually
- If the bot doesn't accept the invite, see the troubleshooting page
- Follow one of the three instructions below.
N.B. Discord may ban users who are too suspicious. The bridge shouldn't be too suspicious by default, but if you want to avoid any risk, use a bot account.
QR login is more convenient, but requires having the Discord mobile app installed, and may encounter CAPTCHAs which are currently not supported by the bridge.
login-qrto start the login.
- Log in by scanning the QR code with a Discord mobile app.
- After scanning the code, you'll need to approve the login on the mobile app. See the official docs for more info.
- The app can be uninstalled afterwards.
- If you encounter a bad request error saying something about a captcha, you'll have to use token login. Otherwise the login should be successful.
You can also log in by logging in manually and providing the access token to the bridge.
- Log in to Discord in a browser. A private window is recommended so you can easily make the browser forget the token without invalidating it.
- Press F12 (or Cmd+Shift+I on Mac) to open developer tools.
- Select the "Network" tab and filter for
- Press F5 (or Cmd+R on Mac) to reload the page.
- Pick any successful request (e.g. the
libraryrequest). Scroll down to "Request Headers" and find the
Authorizationheader. Right-click the entry and choose copy value.
login-token user <token>to the bot (replacing
<token>with the copied value).
- (Close the private window)
If you don't want to use a real account, you can also log in as a bot.
- Create an application on https://discord.com/developers/applications.
- In the "Bot" section, add a bot and copy the token.
- Enable "server members intent" and "message content intent" under the "Privileged Gateway Intents" section.
login-token bot <token>
- To add your bot to a guild, go to OAuth2 -> URL Generator, select "bot"
under scopes and select the permissions to grant. The generated URL can then
be used to add the bot to a guild.
- At least "Send Messages", "Create Public Threads", "Send Messages in Threads", "Read Message History" and "Add Reactions" are recommended.
- If you're the guild admin, you can just choose "Administrator" for the bot and not worry about exact permissions.
After a successful login, the bridge will create portals for some recent DMs
(some is defined by
startup_private_channel_create_limit in the bridge config).
To bridge guilds, use the