Alchemy.Cache.load_guild_members
You're seeing just the function
load_guild_members
, go back to Alchemy.Cache module for more information.
Link to this function
load_guild_members(guild_id, username \\ "", limit \\ 0)
Requests the loading of offline guild members for a guild.
Guilds should automatically get 250 offline members after the
:ready
event, however, you can use this method to request a fuller
list if needed.
The username
is used to only select members whose username starts
with a certain string; ""
won't do any filtering. The limit
specifies the amount of members to get; 0
for unlimited.
There's a ratelimit of ~100 requests per shard per minute on this function, so be wary of the fact that this might block a process.