UpdateEvent<Guild,java.lang.String>
public class GuildUpdateIconEvent extends GenericGuildUpdateEvent<java.lang.String>
Guild
changed.
Can be used to detect when a guild icon changes and retrieve the old one
Identifier: icon
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
GuildUpdateIconEvent(JDA api,
long responseNumber,
Guild guild,
java.lang.String oldIconId) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getNewIconId() |
The old icon id
|
java.lang.String |
getNewIconUrl() |
The url of the new icon
|
java.lang.String |
getOldIconId() |
The old icon id
|
java.lang.String |
getOldIconUrl() |
The url of the old icon
|
getJDA, getResponseNumber
getGuild
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public java.lang.String getOldIconId()
public java.lang.String getOldIconUrl()
public java.lang.String getNewIconId()
public java.lang.String getNewIconUrl()