Slack channel and a bot with permission scopes (chat:write:bot
)
- Configure a serverless-config.json
- Set the environment variables according to your slack and bitbucket
- Add some channels & messages(bot/channels.js)
- Add some users (users.js)
$ npm i -g serverless
$ npm i
$ serverless invoke local -f slack -d '{"name": "Bernie"}'
$ serverless deploy