mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-24 01:10:59 +01:00
Update with new Slack configuration while keeping legacy information.
parent
ee88a1f313
commit
f15ebcf5a5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user