diff --git a/commands/games-mp/imposter.js b/commands/games-mp/imposter.js index 79a4ca99..8e1a1948 100644 --- a/commands/games-mp/imposter.js +++ b/commands/games-mp/imposter.js @@ -96,11 +96,12 @@ module.exports = class ImposterCommand extends Command { await delay(60000); const choices = players.filter(player => !player.killed); const ids = choices.map(player => player.id); + let i = 0; await msg.say(stripIndents` Alright, who do you think the imposter is? You have 1 minute to vote. _Type the number of the player you think is the imposter._ - ${choices.map((player, i) => `**${i + 1}.** ${player.user.tag}`).join('\n')} + ${choices.map(player => { i++; return `**${i}.** ${player.user.tag}`; }).join('\n')} `); const votes = new Collection(); const voteFilter = res => { diff --git a/package.json b/package.json index 7738d293..684a6c16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "119.29.6", + "version": "119.29.7", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {