An open API service indexing awesome lists of open source software.

https://github.com/actionhero/actionhero-slackbot-template

An example ActionHero project which connects to slack
https://github.com/actionhero/actionhero-slackbot-template

Last synced: 11 days ago
JSON representation

An example ActionHero project which connects to slack

Awesome Lists containing this project

README

          

# ActionHero SlackBot Template

[![CircleCI](https://circleci.com/gh/actionhero/actionhero-slackbot-template.svg?style=svg)](https://circleci.com/gh/actionhero/actionhero-slackbot-template)

I am an example project showing how to integrate ActionHero and Slack. I listen to all the messages in any Slack channel I'm a member of, and respond to the word `hero` with a superhero image. I do this with the action `hero`.

*visit www.actionherojs.com for more information*

I use the ActionHero plugin [ah-slack-plugin](https://github.com/actionhero/ah-slack-plugin)

![image](https://raw.githubusercontent.com/actionhero/actionhero-slackbot-template/master/image.png)

## To install:
(assuming you have [node](http://nodejs.org/) and NPM installed)

`npm install`

## To Run:
`SLACK_BOT_TOKEN=your-token npm start`