Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artsy/dev-help-helper-bot
A Slackbot to mark threads as "solved" by automatically adding a ✅
https://github.com/artsy/dev-help-helper-bot
helper slack slack-bot slackbot
Last synced: about 2 months ago
JSON representation
A Slackbot to mark threads as "solved" by automatically adding a ✅
- Host: GitHub
- URL: https://github.com/artsy/dev-help-helper-bot
- Owner: artsy
- Created: 2020-05-01T16:21:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T10:48:27.000Z (6 months ago)
- Last Synced: 2024-07-24T08:27:33.431Z (6 months ago)
- Topics: helper, slack, slack-bot, slackbot
- Language: JavaScript
- Homepage:
- Size: 273 KB
- Stars: 4
- Watchers: 27
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `#dev-help` Helper Bot
This bot automates a pattern that we've been using at Artsy, where a question is asked in Slack and then, if it's answered, the dev marks the thread with an emoji checkmark.
Having to go and find that little checkmark is a bit annoying though! So now all the original questioner needs to do is type `solved` into the thread and the bot will automatically add the ✅ for them, making the process a bit more efficient.
## Meta
- **Slack App Link:** https://api.slack.com/apps/A013FSQNV96
- **Endpoint for Slack:** https://dev-help-helper-bot-staging.artsy.net/slack/events
- **Point People:** [@pvinis](https://github.com/pvinis)## How to develop
- Make a `.env` file with the contents of `Slackbot dev-help-helper tokens` on 1Password.
- Run `yarn dev` to run the bot locally.
- Run `yarn ngrok` to expose the bot to the internet.
- Copy the first url from ngrok output, something like `https://14c3-108-54-246-210.ngrok.io -> http://localhost:8080`, so take the `https://14c3-108-54-246-210.ngrok.io` part.
- Go to https://api.slack.com/apps/A013FSQNV96/event-subscriptions and paste the link in the `Request URL` field, appending `/slack/events`, so in our example, `https://14c3-108-54-246-210.ngrok.io/slack/events`.
- Click `Save Changes` at the bottom of the page.
- **Make sure to put the previous endpoint for Slack back in that `Request URL` field. It's at the top of this file, but here is is again. https://dev-help-helper-bot-staging.artsy.net/slack/events**
- Click `Save Changes` at the bottom of the page.