Browse Source

Add command not found

master
Nero 5 years ago
parent
commit
54a9e84834
  1. 4
      app.js

4
app.js

@ -494,6 +494,10 @@ let kara = new Vue({
this.botMessage(this.checkForCommands(message, 'say')) this.botMessage(this.checkForCommands(message, 'say'))
} }
if (this.isTyping) {
this.botMessage('Command not found');
}
this.lastMessage = message; this.lastMessage = message;
}, },
checkForCommands(message, commands) { checkForCommands(message, commands) {

Loading…
Cancel
Save