|
|
@@ -509,7 +509,7 @@ QuizzBot.prototype.onMessageInternal = function(username, user, msg) {
|
|
|
this.bot.sendMsg(this.room, "Pas de points pour le moment");
|
|
|
return;
|
|
|
}
|
|
|
- scores = scores.sort((a, b) => b.score - a.score).slice(0, 10);
|
|
|
+ scores = scores.sort((a, b) => b.score - a.score);
|
|
|
this.bot.sendNotice(username, scores.map(i => i.name+":"+i.score).join(", "));
|
|
|
}
|
|
|
else if (lmsg.startsWith("!score")) {
|