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<String>
-
- net.dv8tion.jda.api.events.guild.update.GuildUpdateSplashEvent
-
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Guild,String>
public class GuildUpdateSplashEvent extends GenericGuildUpdateEvent<String>
Indicates that the splash of aGuild
changed.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 String
IDENTIFIER
-
Constructor Summary
Constructors Constructor Description GuildUpdateSplashEvent(JDA api, long responseNumber, Guild guild, String oldSplashId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNewSplashId()
The new splash idString
getNewSplashUrl()
The url of the new splashString
getOldSplashId()
The old splash idString
getOldSplashUrl()
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 String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOldSplashId
@Nullable public String getOldSplashId()
The old splash id- Returns:
- The old splash id, or null
-
getOldSplashUrl
@Nullable public String getOldSplashUrl()
The url of the old splash- Returns:
- The url of the old splash, or null
-
getNewSplashId
@Nullable public String getNewSplashId()
The new splash id- Returns:
- The new splash id, or null
-
-