src/chartroom.js
Function exports
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (robot) {
// Filter out graphs named <name> and save the results
robot.respond(/forget graph (\w*)/i, function (msg) {
var name = msg.match[1].trim(),
graphs = brain.getGraphs(robot),