This repository is meant as an example and starting point for building a Slack app on Beep Boop. It's written in node.js, uses the Slapp library, and takes advantage of the Slack Events API.
Once you've created a new Beep Boop project with this repo, go to your project's Settings tab and enable a Slack App.
Follow the steps laid out in the wizard. You'll want to enable Event Subscriptions on your Slack App using the URL
provided and add subscriptions for the following Bot Events:
message.channels
message.im
Once you've finished setting up your Slack App and saved the Client ID
, Client Secret
and Verification Token
on Beep Boop, go ahead and Start your project.
Once your project has started, go to the Teams tab and add your new Slack App to one of your Slack teams.
Send @slappbot
a Direct Message of help
to see what it can do.
Formely it wasn't possible to set your bot to "online" easily but after some updates slack now allow it.
To do so, you just have to go through this link
Then choose your app. After you'll get a link like this https://api.slack.com/apps/XXDDEEZ/bots
Here's an illustration :
You can now toggle or untoggle off your bot with the appropriate button 😄