Guild.Members doesn't give me all the members #879
-
|
Hi there, I'm trying to write a command that measures the activity of the members in a role and there doesn't seem to be a way of getting the members of a role. When I get the all I get is myself and the bot in the member's member. any way I can get all the members of a role? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
You could do something like this to generate a list of all members with role x |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Sorry to warm this old post up. |
Beta Was this translation helpful? Give feedback.
Guild.Membersusually gives an incomplete list because of caching. UseGetAllMembersAsync()to get a full list.