Reliably Fetching Roles from Member in Guild

How can I reliably fetch a member from a guild (without guild members intent) and ensure that the role information is always accurate when I fetch? I've been running into a problem where when I fetch it, it sometimes gives inaccurate role information. I'm using broadcastEval to perform this action as I'm looking at the role from a specific guild.
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