ajacksified / ajacksified/hubot-plusplus

Hook not working

Aperta
#49 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
CoffeeScript
Stelle
63
Fork
96
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Am i just stupid or is something wrong...

I'm running this but the messages are never being send...

``` js
module.exports = function (robot) {

robot.on("plus-one", function (plusone) {
var blacklist = ['vim', 'dickbutt', 'something'];

if (blacklist.indexOf( plusone.name) !== -1) {
return robot.reply("Sorry Peon you cant tamper with " + plusone.name);
}
return robot.reply("hey im running last command from" + plusone.from);

});
```

This is with slack adapter if that makes any difference.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.