Henshin is a Slack bot written in NodeJS designed to allow you to rapidly build bot commands with modern well structured JavaScript.
- Clone this repo.
cp config/default.env.js config/env.js
- Fill in your Slack Application Tokens from the Slack website
- Run ./bin/henshin from terminal
-
Go to https://api.slack.com/apps and click Create New App. Select your workspace and give your new app a name.
-
Go to OAuth & Permissions.
Add these permission scopes:
- channels:history
- channels:read
- channels:write
- chat:write:bot
- chat:write:user
- groups:history
- groups:read
- groups:write
- im:history
- im:read
- im:write
- links:read
- links:write
- mpim:history
- mpim:read
- mpim:write
- users.profile:read
- users:read
- emoji:read
- files:write:user
-
Readd the application to your Slack instance.
-
Go back to OAuth & Permissions to get your
HUBOT_SLACK_TOKEN
andHUBOT_SLACK_OAUTH_ACCESS_TOKEN
and fill the values in. -
Go to Incoming Webhooks and click "Add New Webhook to Workspace". Copy the webhook that was created for you to
HUBOT_SLACK_INCOMING_WEBOOK
Henshin is open-sourced software licensed under the MIT license