lib/plugins/command.js
Function exports
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function () {
return function (irc) {
function emitCommand(event, text) {
var message = irc.splitString(text);
debug("message: %s", JSON.stringify(message));