A simple interactive nodejs slack bot.
Go to https://slack.com/apps/A0ZC8RE4T-mfyzsawesomebot?next_id=0, install and obtain access token and bot tokens.
Create .env file and place tokens here:
SLACK_ACCESS_TOKEN='...'
SLACK_BOT_TOKEN='...'
-
Create an app at:
-
Create a bot account at:
-
Deploy this web app to somewhere (like heroku)
-
Enable "Events API" with providing http://your-deployment-url/slack-events callback URL.
-
Subscribe to events like "message.im", "app_mention" in order to get notified of these events.
- app_mention
- message.im
- message.channel