Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getMemberOrNull and getGuildMembers caching only user data (#964)
As reported in the Kord Discord server [1], these methods of StoreEntitySupplier are storing the results only to the UserData cache, not the MemberData cache, so subsequent calls would not find them from the cache. When using cacheWithCachingRestFallback, this results in REST calls being made every single time to get members, unless they got cached from a gateway event. [1] https://discord.com/channels/556525343595298817/1271484633610981493
- Loading branch information