UpdateEvent<Guild,java.util.Set<java.lang.String>>
public class GuildUpdateFeaturesEvent extends GenericGuildUpdateEvent<java.util.Set<java.lang.String>>
Guild
changed.
Can be used to detect when the features change and retrieve the old ones
Identifier: features
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
GuildUpdateFeaturesEvent(JDA api,
long responseNumber,
Guild guild,
java.util.Set<java.lang.String> oldFeatures) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<java.lang.String> |
getNewFeatures() |
The new Set of features after the
Guild update. |
java.util.Set<java.lang.String> |
getOldFeatures() |
The old Set of features before the
Guild update. |
getJDA, getResponseNumber
getGuild
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public java.util.Set<java.lang.String> getOldFeatures()
Guild
update.public java.util.Set<java.lang.String> getNewFeatures()
Guild
update.