Cleaner Looking args

This commit is contained in:
Daniel Odendahl Jr
2017-05-02 17:54:07 +00:00
parent 57ee7fa82b
commit 3bb21c2df0
83 changed files with 787 additions and 616 deletions
+8 -6
View File
@@ -9,12 +9,14 @@ module.exports = class SoundCloudCommand extends Command {
group: 'search',
memberName: 'soundcloud',
description: 'Searches SoundCloud for a song.',
args: [{
key: 'query',
prompt: 'What do you want to search SoundCloud for?',
type: 'string',
parse: text => encodeURIComponent(text)
}]
args: [
{
key: 'query',
prompt: 'What do you want to search SoundCloud for?',
type: 'string',
parse: text => encodeURIComponent(text)
}
]
});
}