From 16f3e368b96c938f9bb09069d92047a4a7be6a89 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 30 Jun 2017 00:35:42 +0200 Subject: [PATCH] Created How to create your config (markdown) --- How-to-create-your-config.md | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 How-to-create-your-config.md diff --git a/How-to-create-your-config.md b/How-to-create-your-config.md new file mode 100644 index 0000000..c6631e0 --- /dev/null +++ b/How-to-create-your-config.md @@ -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.