From 54a9e848340fd2fd158d658ac9349930edd4cabd Mon Sep 17 00:00:00 2001 From: Nero Date: Wed, 23 Sep 2020 12:13:25 +0200 Subject: [PATCH] Add command not found --- app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.js b/app.js index 5e733d9..632538f 100644 --- a/app.js +++ b/app.js @@ -494,6 +494,10 @@ let kara = new Vue({ this.botMessage(this.checkForCommands(message, 'say')) } + if (this.isTyping) { + this.botMessage('Command not found'); + } + this.lastMessage = message; }, checkForCommands(message, commands) {