|
|
@@ -600,10 +600,7 @@ QuizzBot.prototype.onMessageInternal = function(username, user, msg) {
|
|
|
scores = scores.sort((a, b) => b.score - a.score);
|
|
|
this.bot.sendNotice(username, scores.map(i => i.name+":"+i.score).join(", "));
|
|
|
}
|
|
|
- else if (lmsg === "!score") {
|
|
|
- this.sendScore(true);
|
|
|
- }
|
|
|
- else if (lmsg === "!top") {
|
|
|
+ else if (lmsg === "!score" || lmsg === "!top") {
|
|
|
this.sendScore(false);
|
|
|
}
|
|
|
else if (this.currentQuestion) {
|