|
|
@@ -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)
|