Browse Source

Utiliser !rapido au lieu de !next

isundil 6 years ago
parent
commit
07f5c5a7de
2 changed files with 3 additions and 1 deletions
  1. 2 0
      rapido.js
  2. 1 1
      rapido.md

+ 2 - 0
rapido.js

@@ -195,6 +195,8 @@ Rapido.prototype.onMessageInternal = function(username, user, msg) {
     const lmsg = msg.toLowerCase();
 
     if (lmsg === "!next") {
+        this.bot.sendMsg(this.room, "!next a été remplacé par !rapido.");
+    } else if (lmsg === "!rapido") {
         if (this.wordRequest.indexOf(username) === -1)
             this.wordRequest.push(username);
         if (!this.currentWord && this.wordRequest.length >= this.config.MIN_PLAYERS)

+ 1 - 1
rapido.md

@@ -16,6 +16,6 @@ Joueur1 sera noté 2 points pour avoir trouvé + 2 points pour avoir été le pr
 Joueur2 sera noté 2 points pour avoir trouvé + 0-8 points suivant sa vitesse
 
 ## Commandes :
-**!next** : Lance un mot dans 10 secondes
+**!rapido** : Lance un mot dans 10 secondes
 **!regles** ou **!help** : Rappel les règles et des commandes
 **!scores** : Rappel des scores