This commit is contained in:
Daniel Odendahl Jr
2017-11-06 23:35:44 +00:00
parent 8d310f759b
commit 1a4f7a992d
+1 -1
View File
@@ -128,7 +128,7 @@ module.exports = class CardsAgainstHumanityCommand extends Command {
const player = players.get(parseInt(chosen.first().content, 10));
++player.points;
if (player.points >= maxPts) winner = player.user;
else await msg.say(`Nice one, ${player.user}! You now have ${player.user} points!`);
else await msg.say(`Nice one, ${player.user}! You now have ${player.points} points!`);
}
this.playing.delete(msg.channel.id);
if (!winner) return msg.say('See you next time!');