Fix Everything

This commit is contained in:
Daniel Odendahl Jr
2017-06-01 18:31:20 +00:00
parent 66706d9c7b
commit 4e1f83a30f
85 changed files with 721 additions and 851 deletions
+2 -5
View File
@@ -18,11 +18,8 @@ module.exports = class XKCDCommand extends Command {
type: 'string',
default: 'random',
validate: (type) => {
if (['today', 'random'].includes(type.toLowerCase())) {
return true;
} else {
return 'Please enter either `today` or `random`';
}
if (['today', 'random'].includes(type.toLowerCase())) return true;
else return 'Please enter either `today` or `random`';
}
}
]