Remove 'list' from validators

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 15:42:00 +00:00
parent 7dd9bd23a1
commit 561bd554b5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class SoundBoardCommand extends commando.Command {
prompt: 'What sound do you want me to play?',
type: 'string',
validate: sound => {
if (sounds.avaliable[sound.toLowerCase()] || sound.toLowerCase() === 'list') {
if (sounds.avaliable[sound.toLowerCase()]) {
return true;
}
return 'Sound not found. Use `;help soundboard` to view a list of sounds.';