https://github.com/joemcmahon/mrspiral-spudtest
https://github.com/joemcmahon/mrspiral-spudtest
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joemcmahon/mrspiral-spudtest
- Owner: joemcmahon
- License: mit
- Created: 2017-09-22T22:50:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-23T00:03:36.000Z (almost 8 years ago)
- Last Synced: 2025-02-08T16:43:30.123Z (5 months ago)
- Language: JavaScript
- Size: 1.34 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# starter-slapp-app
This repository is meant as an example and starting point for building a Slack app on [Beep Boop][bb]. It's written in [node.js](), uses the [Slapp][slapp] library, and takes advantage of the [Slack Events API][slack-events-api].
## Setup Instructions
Once you've created a new [Beep Boop](bb) 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`### 🔥 it up
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.

### Why is my Bot Offline?

Your bot will not show as "online", which is a current limitation of the [Slack Events API][slack-events-api] (no way to set presence). If you really want your bot to show online, [check out this work-around][presence-polyfill].
[bb]: https://beepboophq.com
[slapp]: https://github.com/BeepBoopHQ/slapp
[slack-events-api]: https://api.slack.com/events-api
[presence-polyfill]: https://github.com/BeepBoopHQ/beepboop-slapp-presence-polyfill