diff --git a/nodejs/controller/commands/default.js b/nodejs/controller/commands/default.js index 77f0d16..3f06876 100644 --- a/nodejs/controller/commands/default.js +++ b/nodejs/controller/commands/default.js @@ -29,7 +29,7 @@ module.exports = { async function(from, botName){ this.__unLockCommand(); - if(botName in his.constructor.bots){ + if(botName in this.constructor.bots){ let bot = this.constructor.bots[botName]; if(!bot.isReady){