exports = module.exports;

exports.isChannel = function isChannel(value) {
}

@@ -21,57 +21,521 @@
 orts
-;%0A%0Aexports.isChannel = function isChannel(value) %7B
+ = %7B%0A    isChannel: isChannel,%0A    filterCommands: filterCommands,%0A    isCmd: isCmd,%0A    isBotMessage: isBotMessage%0A%0A%7D;%0A%0Afunction isChannel(value) %7B%7D%0A%0Afunction filterCommands(message) %7B%0A    return message.split(' ').filter(function (el) %7B%0A        return el.length %3E 0;%0A    %7D);%0A%7D%0A%0Afunction isCmd(value, cmdline) %7B%0A%0A    return (%0A        cmdline%5B0%5D.toLowerCase() === value.toLowerCase()%0A    );%0A%7D%0A%0Afunction isBotMessage(to, config) %7B%0A%0A    return (%0A        to.toLowerCase() === config.irc.nickname.toLowerCase()%0A    );%0A
 %0A%7D%0A

add utils lib