Skip to content

Commit

Permalink
Link to ShardMessenger::chunk_guilds in Guild's member-field. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alch-Emi authored and Lakelezz committed Aug 15, 2019
1 parent c4e1fae commit 8e926f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/model/guild/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ pub struct Guild {
/// if the [`member_count`] is greater than the `LARGE_THRESHOLD` set by
/// the library.
///
/// You can manually request that the remaining members be sent by calling
/// [`ShardManager::chunk_guilds`].
///
/// [`ReadyEvent`]: ../event/struct.ReadyEvent.html
/// [`member_count`]: #structfield.member_count
/// [`ShardMessenger::chunk_guilds`]: ../../client/bridge/gateway/struct.ShardMessenger.html#method.chunk_guilds
#[serde(serialize_with = "serialize_gen_map")]
pub members: HashMap<UserId, Member>,
/// Indicator of whether the guild requires multi-factor authentication for
Expand Down

0 comments on commit 8e926f9

Please sign in to comment.