| 1 | # Slack |
| 2 | |
| 3 | - Status: ??? |
| 4 | - Maintainers: ??? |
| 5 | - Features: ??? |
| 6 | |
| 7 | ## Configuration |
| 8 | |
| 9 | **Basic configuration example:** |
| 10 | |
| 11 | ```toml |
| 12 | [slack] |
| 13 | [slack.myslack] |
| 14 | RemoteNickFormat="{BRIDGE} - @{NICK}" |
| 15 | Token="#####" |
| 16 | # this will maps threads from other bridges on slack threads |
| 17 | PreserveThreading=true |
| 18 | ``` |
| 19 | |
| 20 | ## FAQ |
| 21 | |
| 22 | ### How to get create an account for my matterbridge bot? |
| 23 | |
| 24 | See [account.md](account.md). |
| 25 | |
| 26 | ## Auth Comparison |
| 27 | |
| 28 | This is a simple comparison of the Slack connection methods, to help you understand and differentiate between each: |
| 29 | |
| 30 | | 👇 Feature \ Token Type 👉 | Bot user | Legacy<br/>(personal account) | Legacy<br/>(dedicated account) | |
| 31 | |---|:---:|:---:|:---:| |
| 32 | | Bridge Type | `slack` | `slack-legacy` | `slack-legacy` | |
| 33 | | Token prefix | `xoxb-` | `xoxp-` | `xoxp-` | |
| 34 | | Supported | ✅ | | ✅ | |
| 35 | | 1. Auto-join channels | | ✅ | ✅ | |
| 36 | | 3. Uses separate integration slot | :x: | | | |
| 37 | | 4. User's outgoing messages relayed | ✅ | | ✅ | |
| 38 | | 5. File uploads show as from... | bot | you | dedicated user |# Slack |
| 39 | |
| 40 | ## Messages come from Slack API tester |
| 41 | Did you set `RemoteNickFormat`? |
| 42 | Try adding `RemoteNickFormat="<{NICK}>"` |
| 43 | |
| 44 | ## Messages from other bots aren't getting relayed |
| 45 | |
| 46 | If you're using `WebhookURL` in your Slack configuration, this is normal. |
| 47 | If you only have `Token` configuration, this could be a bug. Please open an issue. |
| 48 | |