Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Elephant Bot

FOSSA Status

About

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.

Current Status

Search routines - Done

Cacheing of spare results - Done

Basic Discord Integration (fixed Search term) - Done

Allow any possible search term from users - WIP

Tracking of used queries - WIP

Queue filling of most common terms to use spare queries - WIP

Planned

Larger cacheing system to account for running out of queries, while limiting repeat results.

pull resuts of common daily searches to fill out request totals in a day.

Remove or track the random page selection to reduce the chance of repeat results.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published