#Fetching role members

4 messages · Page 1 of 1 (latest)

slim lintel
#

How would I go about doing this?
I have tried fetching all the members of a guild and then fetching all the roles in said guild (and vice versa). Then using role.members to check the members but it's always empty.

mossy meadowBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
daring walrus
slim lintel
#

Trying with the intent now but I thought that was just for receiving events