Skip to content

Commit 1fd4901

Browse files
committed
Update README.md
1 parent de2deca commit 1fd4901

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ Enjoy!
77

88
## Instructions
99
1. [Create](https://api.slack.com/apps) a Slack App for your workspace.
10-
2. Add the following permission scopes to your app:
10+
2. Add the following permission scopes to a user token (bot tokens aren't allowed `channels:write`):
1111
- `users:read`
1212
- `users:read.email`
1313
- `channels:read`
1414
- `channels:write`
1515
- `groups:read` (only if inviting to private channels)
1616
- `groups:write` (only if inviting to private channels)
17-
3. Install app to your workspace which will generate a new OAuth Access Token
17+
3. Install app to your workspace which will generate a new User OAuth token
1818
4. Download script:
1919
- If you have Go installed: `go get github.com/jamietsao/slack-multi-channel-invite`
2020
- Else download the binary directly: https://github.com/jamietsao/slack-multi-channel-invite/releases
2121
5. Run script:
2222

23-
`slack-multi-channel-invite -api_token=<oauth-access-token> -emails=steph@warriors.com,klay@warriors.com -channels=dubnation,splashbrothers,thetown -private=<true|false>`
23+
`slack-multi-channel-invite -api_token=<user-oauth-token> -emails=steph@warriors.com,klay@warriors.com -channels=dubnation,splashbrothers,thetown -private=<true|false>`
2424

2525
The users with emails `steph@warriors.com` and `klay@warriors.com` should be invited to channels `dubnation`, `splashbrothers`, and `thetown`!
2626

0 commit comments

Comments
 (0)