public class GuildMembersChunkHandler extends SocketHandler
allContent, api, responseNumber
Constructor and Description |
---|
GuildMembersChunkHandler(JDAImpl api) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
protected java.lang.String |
handleInternally(org.json.JSONObject content)
Handles a given data-json of the Event handled by this Handler.
|
void |
modifyExpectedGuildMember(java.lang.String guildId,
int changeAmount) |
void |
setExpectedGuildMembers(java.lang.String guildId,
int count) |
handle
public GuildMembersChunkHandler(JDAImpl api)
protected java.lang.String handleInternally(org.json.JSONObject content)
SocketHandler
handleInternally
in class SocketHandler
content
- the content of the event to handlepublic void setExpectedGuildMembers(java.lang.String guildId, int count)
public void modifyExpectedGuildMember(java.lang.String guildId, int changeAmount)
public void clearCache()