Danbooru - Search for one tag at a time

This commit is contained in:
Daniel Odendahl Jr
2017-07-28 00:12:27 +00:00
parent 80d5643df9
commit 37f9f5d785
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -15,7 +15,11 @@ module.exports = class DanbooruCommand extends Command {
key: 'query',
prompt: 'What would you like to search for?',
type: 'string',
default: ''
default: '',
validate: query => {
if (!query.includes(' ')) return true;
return 'Please only search for one tag at a time.';
}
}
]
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "27.9.1",
"version": "27.9.2",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {