initial commit

This commit is contained in:
Kegan Myers 2014-08-09 16:57:42 -05:00
commit 4f9da70120
3 changed files with 31 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea

11
index.js Normal file
View file

@ -0,0 +1,11 @@
module.exports = function(configuration) {
return function(ee) {
ee.on('roll', function(slack) {
try {
slack.replyUser(slack.text);
} catch (e) {
slack.error(e.toString());
}
});
};
};

19
package.json Normal file
View file

@ -0,0 +1,19 @@
{
"name": "slack-phrase-command",
"version": "0.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/terribly-lazy/slack-phrase-command.git"
},
"author": "Kegan Myers <kegan@keganmyers.com>",
"license": "BSD 2-Clause",
"bugs": {
"url": "https://github.com/terribly-lazy/slack-phrase-command/issues"
},
"homepage": "https://github.com/terribly-lazy/slack-phrase-command"
}