Sort by relevance

This commit is contained in:
Daniel Odendahl Jr
2017-09-16 02:25:23 +00:00
parent b32cf4c2d9
commit 643fae4e83
+1
View File
@@ -28,6 +28,7 @@ module.exports = class FlickrCommand extends Command {
format: 'json',
method: 'flickr.photos.search',
text: query,
sort: 'relevance',
nojsoncallback: true
});
if (!body.photos.photo.length) return msg.say('Could not find any results.');