Remove some

This commit is contained in:
Daniel Odendahl Jr
2017-06-17 03:37:16 +00:00
parent 56ceba6436
commit 202a78be0c
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class RockPaperScissorsCommand extends Command {
args: [
{
key: 'choice',
prompt: '`Rock`, `Paper`, or `Scissors`?',
prompt: 'Rock, Paper, or Scissors?',
type: 'string',
parse: (choice) => choice.toLowerCase()
}
+2 -2
View File
@@ -14,12 +14,12 @@ module.exports = class LockdownCommand extends Command {
args: [
{
key: 'type',
prompt: 'Please enter either `start` or `stop`.',
prompt: 'Please enter either start or stop.',
type: 'string',
default: 'start',
validate: (type) => {
if (['start', 'stop'].includes(type.toLowerCase())) return true;
else return 'Please enter either `start` or `stop`.';
else return 'Please enter either start or stop.';
},
parse: (type) => type.toLowerCase()
}
+2 -2
View File
@@ -14,7 +14,7 @@ module.exports = class TemperatureCommand extends Command {
type: 'string',
validate: (base) => {
if (['celsius', 'fahrenheit', 'kelvin'].includes(base.toLowerCase())) return true;
else return 'Please enter either `celsius`, `fahrenheit`, or `kelvin`.';
else return 'Please enter either celsius, fahrenheit, or kelvin.';
},
parse: (base) => base.toLowerCase()
},
@@ -24,7 +24,7 @@ module.exports = class TemperatureCommand extends Command {
type: 'string',
validate: (to) => {
if (['celsius', 'fahrenheit', 'kelvin'].includes(to.toLowerCase())) return true;
else return 'Please enter either `celsius`, `fahrenheit`, or `kelvin`.';
else return 'Please enter either celsius, fahrenheit, or kelvin.';
},
parse: (to) => to.toLowerCase()
},
+1 -1
View File
@@ -16,7 +16,7 @@ module.exports = class RandomNameCommand extends Command {
default: 'both',
validate: (gender) => {
if (['male', 'female', 'both'].includes(gender.toLowerCase())) return true;
else return 'Please enter either `male`, `female`, or `both`.';
else return 'Please enter either male, female, or both.';
},
parse: (gender) => gender.toLowerCase()
}