Update with new Slack configuration while keeping legacy information.

Duco van Amstel 2018-11-18 00:22:43 +00:00
parent ee88a1f313
commit f15ebcf5a5

@ -1,9 +1,19 @@
:warning: NB: For the full Slack setup guide please check [this page](https://github.com/42wim/matterbridge/wiki/Slack-bot-setup).
**Create a dedicated user (a new account specifically for matterbridge) first.
It will not relay messages from yourself if you use your account**
``` # Configuration
```toml
[slack]
[slack.myslack] [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 #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. #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 #See https://github.com/42wim/matterbridge/wiki/Slack-bot-setup for more information