如何在discord.py中循环公会的所有成员

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?

评论
好菇凉
好菇凉

是的,您有正确的主意。

for m in guild.members:
    # do something

参考文献:

点赞
评论