mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +02:00
Sort by relevance
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user