Browse Source

Mettre à jour 'rapido.js'

Julia 6 years ago
parent
commit
8469276f68
1 changed files with 3 additions and 0 deletions
  1. 3 0
      rapido.js

+ 3 - 0
rapido.js

@@ -198,6 +198,9 @@ Rapido.prototype.onMessageInternal = function(username, user, msg) {
         this.currentPoints.push({ username: username, time: Date.now()});
         this.bot.sendMsg(this.room, "Ok pour " +username);
     }
+    else if (lmsg.startsWith("!aide")) {
+        this.bot.sendMsg(this.room, "Besoin d'aide ? Les règles ainsi que les commandes utiles sont ici : http://git.knacki.info/irc.knacki.info/ircbot-quizz/src/master/rapido.md ");
+    }
 };
 
 module.exports = Rapido;