UpdateEvent<Guild,java.lang.String>public class GuildUpdateNameEvent extends GenericGuildUpdateEvent<java.lang.String>
Guild changed.
Can be used to detect when a guild name changes and retrieve the old one
Identifier: name
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor | Description |
|---|---|
GuildUpdateNameEvent​(JDA api,
long responseNumber,
Guild guild,
java.lang.String oldName) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getNewName() |
The new name
|
java.lang.String |
getOldName() |
The old name
|
getJDA, getResponseNumbergetGuildgetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER