Skip to content

Section Slack (basic)

Patrick Connolly edited this page Nov 20, 2018 · 15 revisions

NB: For the full Slack setup guide please check this page.

Configuration

[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 🙂).

[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
Token="xoxp-123456789-LowerAndUPpercase"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "

Auth Comparison

This is a simple comparison of the Slack connection methods, to help you understand the difference between each:

👇 Feature \ Token Type 👉 bot "legacy" user (personal) "legacy" user (dedicated)
Bridge Type slack slack-legacy slack-legacy
Supported
1. Auto-join channels
3. Uses separate integration slot
4. User's outgoing messages relayed
5. File uploads show as bot you dedicated user
Clone this wiki locally