Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
delasteve committed May 26, 2016
1 parent 278f2bd commit cbd2f91
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
# hacking-slack
# Hacking Slack

A slackbot seed for The Forge Ann Arbor's May PluggedIn event.

## Usage

- Install Node.js
- Clone this repository
- Type `npm install` in the created folder
- Edit the `index.js`'s `SLACK_TOKEN` variable with the provided SlackBot token
- Hack away and have fun!
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var SlackBot = require('slackbotjs').SlackBot;

var SLACK_TOKEN = '___PASTE_TOKEN_HERE___';

var slackbot = new SlackBot(SLACK_TOKEN);

slackbot.start();
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "hacking-slack",
"version": "0.0.1",
"description": "A slackbot seed for The Forge Ann Arbor's May PluggedIn event",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/delasteve/hacking-slack.git"
},
"author": {
"name": "Stephen Cavaliere",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/delasteve/hacking-slack/issues"
},
"homepage": "https://github.com/delasteve/hacking-slack#readme",
"dependencies": {
"slackbotjs": "^0.1.0"
}
}

0 comments on commit cbd2f91

Please sign in to comment.