mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Whoops
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user