src/bot/index.js
Function _reply
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_reply(messageString, options, callback) {
const system = {
// Pass in the topic if it has been set
topicName: options.topicName || null,
plugins: this.plugins,
Avoid too many return
statements within this function. Open
Open
return callback(null, bot);