This commit is contained in:
Dragon Fire
2020-10-31 11:20:16 -04:00
parent 9cbf94a228
commit 8804391a8f
+1 -1
View File
@@ -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 someone **${age} or younger**.`);
return msg.reply(`You have the hearing of someone **${Number.parseInt(age, 10) + 1} or older**.`);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
}