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 User3y ago
Message Not Public
Sign In & Join Server To View
MrMythical
MrMythical3y ago
it always skips cache check but the user will be cached
Yashinu
YashinuOP3y ago
Then I should check cache first and use forcefetch if there's no user in cache
MrMythical
MrMythical3y ago
uh, only if they don't have a .banner

Did you find this page helpful?