Class GuildUpdateSplashEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent<java.lang.String>
-
- net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
- All Implemented Interfaces:
GenericEvent,UpdateEvent<Guild,java.lang.String>
public class GuildUpdateSplashEvent extends GenericGuildUpdateEvent<java.lang.String>
Indicates that the splash of aGuildchanged.Can be used to detect when a guild splash changes and retrieve the old one
Identifier:
splash
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIDENTIFIER
-
Constructor Summary
Constructors Constructor Description GuildUpdateSplashEvent(JDA api, long responseNumber, Guild guild, java.lang.String oldSplashId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNewSplashId()The new splash idjava.lang.StringgetNewSplashUrl()The url of the new splashjava.lang.StringgetOldSplashId()The old splash idjava.lang.StringgetOldSplashUrl()The url of the old splash-
Methods inherited from class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getResponseNumber
-
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
-
-
-
Field Detail
-
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOldSplashId
@Nullable public java.lang.String getOldSplashId()
The old splash id- Returns:
- The old splash id, or null
-
getOldSplashUrl
@Nullable public java.lang.String getOldSplashUrl()
The url of the old splash- Returns:
- The url of the old splash, or null
-
getNewSplashId
@Nullable public java.lang.String getNewSplashId()
The new splash id- Returns:
- The new splash id, or null
-
getNewSplashUrl
@Nullable public java.lang.String getNewSplashUrl()
The url of the new splash- Returns:
- The url of the new splash, or null
-
-