ajacksified / ajacksified/hubot-plusplus

Hook not working

Offen
#49 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
CoffeeScript
Sterne
63
Forks
96
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.