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, getResponseNumber
getCategory, getGuild, getId, getIdLong
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER