Get member roles without member cache

so i have guild member cache disabled but i would like to get roles id array which is gotten from api once on a while if i try to use roles.cache.keys, it gives just everyone role, or other way if i already have to use cache, can i somehow like add filter before saving? so that it saves only specific properties? and by first i mean there can be roles filled up after runtime which isnt good unlike on start
1 Reply
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Want results from more Discord servers?
Add your server