UpdateEvent<SelfUser,java.lang.String>
public class SelfUpdateNameEvent extends GenericSelfUpdateEvent<java.lang.String>
Can be used to retrieve the old name.
Identifier: name
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
SelfUpdateNameEvent(JDA api,
long responseNumber,
java.lang.String oldName) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getNewName() |
The new name
|
java.lang.String |
getOldName() |
The old name
|
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 SelfUpdateNameEvent(JDA api, long responseNumber, java.lang.String oldName)