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>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGuildUpdateBannerEvent
(JDA api, long responseNumber, Guild guild, String previous) -
Method Summary
Modifier and TypeMethodDescriptionThe new banner idThe new banner urlThe old banner idThe old banner urlMethods 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 Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
GuildUpdateBannerEvent
-
-
Method Details
-
getNewBannerId
The new banner id- Returns:
- The new banner id, or null if the banner was removed
-
getNewBannerUrl
The new banner url- Returns:
- The new banner url, or null if the banner was removed
-
getOldBannerId
The old banner id- Returns:
- The old banner id, or null if the banner didn't exist
-
getOldBannerUrl
The old banner url- Returns:
- The old banner url, or null if the banner didn't exist
-