Open Muirrum opened 4 years ago
should also cache basic runuser
data like name, and time joined discord
since the bot would have to verify that the invite link is still valid when it gets it from the cache (which would likely take as long as getting the link from discord in the first place), wouldn't it make more sense to not to cache server invites to reduce server resource usage?
The bot should automatically cache things like server invites to make it easier (and faster) to fetch.
Currently, the
servers
command takes far too long because it has to fetch invites from each server individually. Caching the invites (or the code) would allow for them to all be fetched much faster