Skip to content

How to get list of guild members? #1135

Answered by FedorLap2006
DeedsBaron asked this question in Q&A
Discussion options

You must be logged in to vote

Only state (retrieved through methods of session.State) guilds will have Members property set. Instances returned from the API will return an empty slice.
You can request all guild members however, using session.GuildMembersList method.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@DeedsBaron
Comment options

@sohneg
Comment options

Answer selected by FedorLap2006
Comment options

You must be logged in to vote
4 replies
@FedorLap2006
Comment options

@Cypaaa
Comment options

@Cypaaa
Comment options

@FedorLap2006
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants