mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 12:09:30 +01:00
Created How to create your config (markdown)
parent
1c5f23f682
commit
16f3e368b9
42
How-to-create-your-config.md
Normal file
42
How-to-create-your-config.md
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user