initial commit
This commit is contained in:
commit
4f9da70120
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.idea
|
11
index.js
Normal file
11
index.js
Normal 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
19
package.json
Normal 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"
|
||||
}
|
Loading…
Reference in a new issue