diff --git a/commands/numedit/roman.js b/commands/numedit/roman.js index 942c9e29..7c9bbda4 100644 --- a/commands/numedit/roman.js +++ b/commands/numedit/roman.js @@ -14,7 +14,7 @@ module.exports = class RomanCommand extends commando.Command { prompt: 'What do you want to convert to Roman?', type: 'integer', validate: number => { - if (number > 1000000 && number < 0) { + if (number > 1000000 || number < 0) { return 'Please enter a number below one million and above zero.'; } return true;