UpdateEvent<Category,java.lang.String>public class CategoryUpdateNameEvent extends GenericCategoryUpdateEvent<java.lang.String>
Category was updated.
Can be used to retrieve the old name
Identifier: name
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor | Description |
|---|---|
CategoryUpdateNameEvent(JDA api,
long responseNumber,
Category category,
java.lang.String oldName) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getNewName() |
The new name for this
Category |
java.lang.String |
getOldName() |
The previous name for this
Category |
getJDA, getResponseNumbergetCategory, getGuild, getId, getIdLonggetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER