Chat adapter for connecting bBot to Slack.
Visit bBot.chat for info on the conversation engine.
Docs TBD...
While in development, please see the Hubot guide. bBot architecture is very similar and for the purpose of setting up the App and Bot User on your Slack workspace, those instructions are fine.
BOT_SLACK_USER_TOKEN=YOUR_TOKEN
BOT_SLACK_USER_SYNC=true # default is false (enable only for small workspaces)
These options can also be given as CLI args like --slack-user-sync true
or
as attributes in package.json
under "bot"
like "slack-user-sync": true
.
This adapter is in development to provide MVP utility and needs to be matured with more "real world" experience. If you're using Slack in production with more advanced requirements, like custom actions or payloads, please report an issue to describe your usage and requirements, so we might improve it together.
For questions about testing Slack Apps and Bot Users, see the Slack FAQ
BEWARE: Currently tests run with the same token and workspace configured for the LIVE bot, as stubs and mock responses haven't yet been developed.
While in active development, I recommend working on and running tests for one method at a time, using grep for the method name, e.g:
mocha test/client.spec.ts --grep loadUsers