From f15ebcf5a5cd2539c7ea8cced7fde1cdfd484a1b Mon Sep 17 00:00:00 2001 From: Duco van Amstel Date: Sun, 18 Nov 2018 00:22:43 +0000 Subject: [PATCH] Update with new Slack configuration while keeping legacy information. --- Section-Slack-(basic).md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Section-Slack-(basic).md b/Section-Slack-(basic).md index fc406aa..d5f5509 100644 --- a/Section-Slack-(basic).md +++ b/Section-Slack-(basic).md @@ -1,9 +1,19 @@ -:warning: -**Create a dedicated user (a new account specifically for matterbridge) first. -It will not relay messages from yourself if you use your account** +NB: For the full Slack setup guide please check [this page](https://github.com/42wim/matterbridge/wiki/Slack-bot-setup). -``` +# Configuration +```toml +[slack] [slack.myslack] +Token="xoxb-123456789-aBeautifulBotToken" +RemoteNickFormat="{BRIDGE} - @{NICK}" +``` + +# Legacy configuration +If you are using the legacy configuration this is how you should configure it (but please also consider moving to the newer setup 🙂). + +```toml +[slack-legacy] +[slack-legacy.myslack] #Token to connect with the Slack API #You'll have to use a test/api-token using a dedicated user and not a bot token. #See https://github.com/42wim/matterbridge/wiki/Slack-bot-setup for more information