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, getResponseNumbergetEntity, getNewValue, getOldValue, getPropertyIdentifier, getSelfUser, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER
public SelfUpdateNitroEvent(JDA api, long responseNumber, boolean wasNitro)