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