Created How to create your config (markdown)

Wim 2017-06-30 00:35:42 +02:00
parent 1c5f23f682
commit 16f3e368b9

@ -0,0 +1,42 @@
### Step 1
Create an empty matterbridge.toml file.
### Step 2
Choose the protocols you want to bridge below, and copy paste those into your config file.
* [[Section-Discord-(basic)]]
* [[Section-Slack-(basic)]]
* [[Section-Telegram-(basic)]]
* [[Section-Mattermost-(basic)]]
* [[Section-Gitter-(basic)]]
* [[Section-IRC-(basic)]]
* [[Section-RocketChat-(basic)]]
* [[Section-XMPP-(basic)]]
* [[Section-Matrix-(basic)]]
* [[Section-Steam-(basic)]]
* [[Section-Hipchat-(basic)]]
For example, you want to bridge discord and gitter.
Just add below to the config
```
[discord.mydiscord]
#You can get your token by following the instructions on
#https://github.com/42wim/matterbridge/wiki/Discord-bot-setup
#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.
Token="Yourtokenhere"
Server="yourservername"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
[gitter.mygitter]
#You can get your token by going to https://developer.gitter.im/docs/welcome and SIGN IN
Token="Yourtokenhere"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
```
### Step 3
Change the Token and Server keys to actual working ones
### Step 4
Add the channel configuration to your confg file.