diff --git a/commands/games/google-feud.js b/commands/games/google-feud.js index 482e2ad2..d8a0f48a 100644 --- a/commands/games/google-feud.js +++ b/commands/games/google-feud.js @@ -36,7 +36,7 @@ module.exports = class GoogleFeudCommand extends Command { .setColor(0x005AF0) .setTitle(`${question}...?`) .setDescription('Type the choice you think is a suggestion _without_ the question.') - .setFooter(`${tries} tries remaining!`); + .setFooter(`${tries} ${tries === 1 ? 'try' : 'tries'} remaining!`); for (let i = 0; i < suggestions.length; i++) embed.addField(`❯ ${10000 - (i * 1000)}`, display[i], true); await msg.embed(embed); const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, { @@ -53,7 +53,7 @@ module.exports = class GoogleFeudCommand extends Command { display[suggestions.indexOf(choice)] = choice; } else { --tries; - await msg.say(`Nope! ${tries} tries remaining!`); + if (tries) await msg.say(`Nope! ${tries} tries remaining!`); } } this.playing.delete(msg.channel.id); diff --git a/package.json b/package.json index 8a2fe890..f06e03f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "78.0.0", + "version": "78.0.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {