mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Beep
This commit is contained in:
@@ -128,7 +128,7 @@ module.exports = class CardsAgainstHumanityCommand extends Command {
|
|||||||
const player = players.get(parseInt(chosen.first().content, 10));
|
const player = players.get(parseInt(chosen.first().content, 10));
|
||||||
++player.points;
|
++player.points;
|
||||||
if (player.points >= maxPts) winner = player.user;
|
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);
|
this.playing.delete(msg.channel.id);
|
||||||
if (!winner) return msg.say('See you next time!');
|
if (!winner) return msg.say('See you next time!');
|
||||||
|
|||||||
Reference in New Issue
Block a user