Getting a member list on new guild event

I am trying to get a list of members when a new server add's my bot. Listening on the event "client.on("guildCreate", async (guild) => {" I am trying to print console.log(guild.members) but i dont get anything userful
20 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
I keep getting the same object when i try to access the members part
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Febkosq8
Febkosq8OP3y ago
I changed it to fetch
Febkosq8
Febkosq8OP3y ago
but now i done get anything in my console log
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Febkosq8
Febkosq8OP3y ago
where can i check that
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
yes its on
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
This is what i get when i console log user now i try to access the members object inside the guild
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
Febkosq8
Febkosq8OP3y ago
where do i get the members list got it fetch didnt give any output for me
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server