Browse Source

Ajout commande help

Loquicom 2 years ago
parent
commit
003600ad0f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      js/script.js

+ 2 - 0
js/script.js

@@ -93,6 +93,8 @@ function processor(input, cmd) {
     switch (command) {
         case "aide":
             return help(true);
+        case "help":
+            return "Commande inconnue voulez-vous dire \"aide\" ?";
         case "ping":
             return "pong";
         case "cafard":