项目作者: emreSerbetcioglu

项目描述 :
A simple Slack App that lets you send spoiler alerts to your team mates.
高级语言: JavaScript
项目地址: git://github.com/emreSerbetcioglu/slack-spoiler-alert.git
创建时间: 2017-06-19T11:03:02Z
项目社区:https://github.com/emreSerbetcioglu/slack-spoiler-alert

开源协议:MIT License

下载


Slack Spoiler Alert App

Slack Spoiler Alert is a basic Slack App that lets you create spoiler alerts with a slash command /spoiler in your conversations.

Don’t forget to add SLACK_TOKEN to your Heroku Config Variables.

Demo

Spoiler alert demo

Deployment

Deploy

Slack Setup

  1. Create a new app on your slack dashboard.
  2. Generate a verification token for your Slack app. You are going to use it in env variables of your Heroku app.
  3. Add a slash command feature and call it whatever you like. I used /spoiler
  • Place your heroku app’s url as Request URL
  1. Enable interactive messages for your slack app.
  • Place your heroku app’s url + /callback as Request URL for the interactive message and save changes.

Example

  1. https://{your app name}.herokuapp.com/callback

You are good to go!