JoshKoiro / Nautical-Net

A Discord bot that provides images from Unsplash and Pexels to copy as links within Discord
GNU General Public License v3.0
0 stars 0 forks source link

Combine APIs into a single /search function #7

Open JoshKoiro opened 10 months ago

JoshKoiro commented 10 months ago

The idea is that you can use the /search function to query all available APIs and it will select equally from each (as long as there is less than 10 APIs due to the Discord limitation

You should also be able to control manually which APIs to search using the -- syntax similar to the MidJourney bot. An example would look like this:

/search cats --pexels --someotherAPI

This would split the number of images returned equally between the two APIs

JoshKoiro commented 10 months ago

This should also use Pexels by default. if no API parameter is defined, then it should default to pexels as the API source.