public class MemberChunkEvent extends GuildEvent
By default, all members in all connected guilds are requested on startup.
This event is dispatched by Discord.
Constructor and Description |
---|
MemberChunkEvent(DiscordClient client,
long guildId,
Set<Member> members) |
Modifier and Type | Method and Description |
---|---|
Mono<Guild> |
getGuild()
Requests to retrieve the
Guild involved in the event. |
Snowflake |
getGuildId()
|
Set<Member> |
getMembers()
Gets a list of
Members that have been streamed to the client in this event. |
String |
toString() |
public MemberChunkEvent(DiscordClient client, long guildId, Set<Member> members)
public Set<Member> getMembers()
Members
that have been streamed to the client in this event.
This may not contain all Members
of the Guild
.Members
streamed to the client in this event.