From 9cbf94a2282a10bb04146afbec4a35ec4d57146a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 31 Oct 2020 11:18:59 -0400 Subject: [PATCH] Better age display --- commands/games-sp/hearing-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/hearing-test.js b/commands/games-sp/hearing-test.js index 74902fec..6925d358 100644 --- a/commands/games-sp/hearing-test.js +++ b/commands/games-sp/hearing-test.js @@ -47,7 +47,7 @@ module.exports = class HearingTestCommand extends Command { } } if (age === 'all') return msg.reply('Everyone should be able to hear that. You cannot hear.'); - return msg.reply(`You have the hearing of a **${Number.parseInt(age, 10) + 1} year old**.`); + return msg.reply(`You have the hearing of someone **${age} or younger**.`); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); }