You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of methods that request data do not cache the result, leading to requesting information far more often than is actually needed. We should scrub through and try and cache as much information as possible to prevent the need to request it twice.
This is a problem on both current and next.
For example, Guild and GuildId do not cache the request of the Http request on the member method, this happens all across the library for methods that fetch data.
The text was updated successfully, but these errors were encountered:
+1, I am calling GuildId::member on 15 or so users and the fact that it's not cached is making the command take like 10 seconds. I don't even know how I would manually add it to the cache.
A lot of methods that request data do not cache the result, leading to requesting information far more often than is actually needed. We should scrub through and try and cache as much information as possible to prevent the need to request it twice.
This is a problem on both
current
andnext
.For example,
Guild
andGuildId
do not cache the request of the Http request on themember
method, this happens all across the library for methods that fetch data.The text was updated successfully, but these errors were encountered: