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