Skip to content
Wim edited this page Mar 21, 2019 · 45 revisions

Something doesn't work

First create a basic configuration following https://github.com/42wim/matterbridge/wiki/How-to-create-your-config

Also read the features

FAQ for:

Slack

Messages come from Slack API tester

Did you set RemoteNickFormat?
Try adding RemoteNickFormat="<{NICK}>"

Messages from other bots aren't getting relayed

If you're using WebhookURL in your slack configuration this is normal. If you only have Token configuration this could be a bug, please open an issue.

Gitter

Messages deleted on gitter aren't deleted on other bridges

Gitter doesn't send delete events to their API, so we can't pick those up.
When you delete a message on another bridge slack, they will be deleted on gitter though. (matterbridge can delete messages on gitter, but we do not get an event when a message on gitter is deleted)

So slack <=> gitter bridge, deleting messages when on gitter doesn't get deleted on slack.
On the same bridge, deleting messages on slack gets also deleted on gitter.

Discord

Discord is not getting or receiving messages

Did you specify the correct channel name ?
Try using the ID.

You can find the number in the URL of the channel: https://discordapp.com/channels/number1/number2

Instead of channel="name" set channel="ID:number2"

Seeing id's instead of usernames on the other bridges ?

If you want roles/groups mentions to be shown with names instead of ID, you'll need to give your bot the "Manage Roles" permission.

Can I join the bot to a server I don't own ?

You need permissions on the server to be able to join the bot, if you're allowed to here's how you do it: Click on the bot here: https://discordapp.com/developers/applications/me

Click the "Generate OAUTH" button, copy the URL and paste it into your address bar, open the page and you'll see the drop down menu for adding the bot to any server you have permissions on.

Files/images not getting uploaded ?

If you are using the discord webhook and the discord token, the webhook will be used for posting messages. The webhook can't do native upload of files/images to discord.

Possible solution:

  • Disable the webhook and use only the token. (you'll loose the avatar/nick changing)
  • Setup a mediaserver this way matterbridge will upload the files/images to the mediaserver and the webhook will post the URL of the files/images on the mediaserver.

Messages not being edited, but a new message with (edit) appears ?

Message editing is not supported by discord using webhooks. If you want message editing, disable webhooks and use token only

Telegram

Matterbridge is not relaying messages from Telegram

See

If your bot is not getting messages:

Disable privacy mode with @Botfather.

  • Go to BotFather send /setprivacy.
  • Select the username of the bot.
  • Select Disable. Kick bot from chat if it's already in it. Invite bot to chat. The order is important.

Matterbridge is not relaying images/stickers/files from Telegram

Because images/stickers/files are from non-public url's, you'll need to setup a mediaserver

Matterbridge is not relaying messages to Telegram

Did you enable MessageFormat="HTML" in your config?
You could be sending invalid HTML. Set it to MessageFormat=""

More info in https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample#L836-L838

Mattermost

mattermost not sending to other bridges.

You did create a dedicated account for matterbridge ? See https://github.com/42wim/matterbridge/wiki/Section-Mattermost-(basic)

"version not supported error"

By default matterbridge tries https to connect to your mattermost setup.
If you're using a test setup for mattermost, this will probably listen on http and on port 8065.

Add NoTLS=true and use Server="yourmattermostserver.domain:8065" to your mattermost config.
Also see https://github.com/42wim/matterbridge/wiki/Section-Mattermost-(basic)

mattermost doesn't show the IRC nicks

If you're running the webhooks version, this can be fixed by either:

  • enabling "override usernames". See mattermost documentation
  • setting PrefixMessagesWithNick to true in mattermost section of your matterbridge.toml.

If you're running the login/password version you'll need to:

  • setting PrefixMessagesWithNick to true in mattermost section of your matterbridge.toml.

Also look at the RemoteNickFormat setting.

Steam

Bridge doesn't seem to work

See https://github.com/42wim/matterbridge/issues/351 and https://support.steampowered.com/kb_article.php?ref=3330-IAGK-7663 Apparently the account you use need to do a purchase on steam for it to work.

Rocketchat

Alias not changing when messages are sent without receiving other messages between

Bug in rocketchat. See: https://github.com/RocketChat/Rocket.Chat/issues/7549

Clone this wiki locally