How to get list of guild members? #1135
-
Hello i'm stuck with this point, How can i get a list of members of the guild? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I've already enabled guild intent on Discord site, and done |
Beta Was this translation helpful? Give feedback.
-
Only state (retrieved through methods of |
Beta Was this translation helpful? Give feedback.
-
Hi, in the current last version (0.26.1) there is no So, is there any way in this version (0.26.1) to get a list of all members without a limit, I'm not talking on looping over a method to complete the list. Thanks for your answers ! :) |
Beta Was this translation helpful? Give feedback.
Only state (retrieved through methods of
session.State
) guilds will haveMembers
property set. Instances returned from the API will return an empty slice.You can request all guild members however, using
session.GuildMembersList
method.