This is a simple Discord.js bot I made because my fiance likes elephants and I wanted to pratice some node.
This querries a simple google custom search engine through the google API.
The google search returns 10 results per query, and has a limit of 100 queries per day for free use.
A multi teird caching aproach is in development to reduce the number of queries. As well as to provide some level of backup if the querrey limit is reached.
Currently the 10 returned results are cached and a new request is made only when the cache is empty.