Reputation: 163
To get all the members in a server ( guild ) i use guild.members
. But i want to loop through all of the members. Is that possible?
Upvotes: 1
Views: 584
Reputation: 6944
Yep, you've got the right idea.
for m in guild.members:
# do something
References:
Upvotes: 1