Skumppa:
From Swedish skumvin (“sparkling wine”). [1]
They are serving up some of that sweet skumppa, but you missed it again? Never again! Invite skumppa-bot to your Slack channels and get notified whenever skumppa, or whatever other word you want to get notified of, is mentioned.
Monitors Slack channels the bot has been invited to. Whenever someone sends a message with one of the specified keywords is one of the channel it notifies of this in a specified announce channel. So, everyone who wants to be notified can be in that channel, and everyone else won't be bothered by the bot.
git clone https://github.com/Vilkku/skumppa-bot.git
cd skumppa-bot
npm install
cp config.sample.json config.json
node app.js
Configuration is read from the file config.json, which should be created in the skumppa-bot directory (same directory as the app.js file). A sample config.sample.json file is provided as a starting point.
String. Provided by Slack. Get it by creating a bot integration for your community (.slack.com/services/new/bot)
String. Name of the channel where notifications will be sent.
Array of strings. The words skumppa-bot will trigger on.
Boolean. If true the bot will not react to messages when the name of the bot contains the keyword and the message contains the bot's name.
Boolean. If true the bot will not react to messages from bots (bot users or Slackbot).
String. The message skumppa-bot will respond with. Template words can be written within {braces}. See the message formatting documentation for details on how Slack creates clickable links for channels and users. There are probably many useful template words missing, suggestions are welcome.
Archive URL for received message.
Channel ID for received message. Can be used like <#{channelId}>
to create clickable #channel link.
Channel name for received message, prefixed with #.
Keyword skumppa-bot triggered on. If the message contains multiple keywords, this will be the first keyword.
Same as {keyword}
, but with the first letter in upper case.
The message text that contained the keyword.
Real name of the user for received message. Defaults to username if real name is not available (for example if the message was sent by another bot).