ajacksified / hubot-plusplus

Welcome to Hubot, where the points don't matter
MIT License
59 stars 100 forks source link

Hook not working #49

Open th3fallen opened 9 years ago

th3fallen commented 9 years ago

Am i just stupid or is something wrong...

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

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.