freepizzas-dev / onebot

A barebones Discord bot based on nextcord.py that includes some basic modules to play around with.
MIT License
6 stars 0 forks source link

google and image modules are synchronous #2

Open freepizzas-dev opened 2 years ago

freepizzas-dev commented 2 years ago

The current libraries used for the google and the image modules contain synchronous web requests.

This means the bot doesn't perform optimally with a lot of users. Since these modules are driven by third-party libraries, it's not trivial to make these modules asynchronous and non-blocking.

Possible solutions: