Class GuildUpdateBannerEvent
- 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.GuildUpdateBannerEvent
-
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Guild,String>
public class GuildUpdateBannerEvent extends GenericGuildUpdateEvent<String>
-
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER
-
Constructor Summary
Constructors Constructor Description GuildUpdateBannerEvent(JDA api, long responseNumber, Guild guild, String previous)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNewBannerId()
The new banner idString
getNewBannerUrl()
The new banner urlString
getOldBannerId()
The old banner idString
getOldBannerUrl()
The old banner url-
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
-
getNewBannerId
@Nullable public String getNewBannerId()
The new banner id- Returns:
- The new banner id, or null if the banner was removed
-
getNewBannerUrl
@Nullable public String getNewBannerUrl()
The new banner url- Returns:
- The new banner url, or null if the banner was removed
-
getOldBannerId
@Nullable public String getOldBannerId()
The old banner id- Returns:
- The old banner id, or null if the banner didn't exist
-
-