From 956942bc90c852ab400b9423a7e2a9995a13ad93 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Thu, 12 Oct 2023 17:17:10 -0400 Subject: [PATCH] add logon command --- nodejs/controller/commands/default.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){