-
Create OAuth Token OAuth & Permissions
- User Token Scopes
- channels:read
- chat:write
- OAuth Tokens & Redirect URLs
- Install App to Workspace
- Tokens for Your Workspace -> copy OAuth Access Token
- User Token Scopes
-
Setting OAuth Token
export RSLACK_TOKEN=your-token
# Install
brew install kohbis/rslack/rslack
# Configuration
# If both are set, use the value of `.rslack
export RSLACK_TOKEN=your-token
# or
echo "RSLACK_TOKEN=your-token" > ${HOME}/.rslack
rslack
# Configuration
# and
cargo run --release
cargo test