UpdateEvent<SelfUser,java.lang.Boolean>
public class SelfUpdateNitroEvent extends GenericSelfUpdateEvent<java.lang.Boolean>
Can be used to track the state of the nitro subscription.
Identifier: nitro
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
SelfUpdateNitroEvent(JDA api,
long responseNumber,
boolean wasNitro) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
wasNitro() |
Whether or not a nitro subscription used to be active before.
|
getJDA, getResponseNumber
getEntity, getNewValue, getOldValue, getPropertyIdentifier, getSelfUser, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public SelfUpdateNitroEvent(JDA api, long responseNumber, boolean wasNitro)