About BaseFetchOptions

I need to get a user's bannerURL so I guess I have to use force: true option in <UserManager>.fetch function. So I have a question about it; Does force: true skip the cache check and request api everytime? Or does it get the data without cache check once, then save it to cache? https://discord.js.org/#/docs/discord.js/main/typedef/BaseFetchOptions
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MrMythical
MrMythical2y ago
it always skips cache check but the user will be cached
i miss her
i miss herOP2y ago
Then I should check cache first and use forcefetch if there's no user in cache
MrMythical
MrMythical2y ago
uh, only if they don't have a .banner
Want results from more Discord servers?
Add your server