From d8c76bd53fbe834c5d59c15f2ea5ec05d647f0dd Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 20 Nov 2020 09:39:13 -0500 Subject: [PATCH] Fix --- commands/util/shutdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/shutdown.js b/commands/util/shutdown.js index 2d41d43c..9eb19a05 100644 --- a/commands/util/shutdown.js +++ b/commands/util/shutdown.js @@ -33,11 +33,11 @@ module.exports = class ShutdownCommand extends Command { if (games > 0) { currentString += `${games} game${games > 1 ? 's' : ''}`; if (calls > 0) currentString += ' and '; - if (games === 1 && calls < 1) areIs = 'is'; + if (games === 1 && (calls > 0 ? calls === 1 : true)) areIs = 'is'; } if (calls > 0) { currentString += `${calls} phone call${calls > 1 ? 's' : ''}`; - if (calls === 1 && games < 1) areIs = 'is'; + if (calls === 1 && (games > 0 ? games === 1 : true)) areIs = 'is'; } await msg.reply(`There ${areIs} currently **${currentString}**. Are you sure?`); const verification = await verify(msg.channel, msg.author);