Member updated their
Can be used to retrieve members who change their per guild avatar, the triggering guild, the old avatar id and the new avatar id.
Additionally, this event requires the
to cache the updated members. Discord does not specifically tell us about the updates, but merely tells us the
member was updated and gives us the updated member object. In order to fire a specific event like this we
need to have the old member cached to compare against.
Method SummaryModifier and TypeMethodDescriptionThe new avatar idThe url of the new avatarReturns an
ImageProxyfor this member's old avatar.The old avatar idThe previous avatar url
Methods inherited from class net.dv8tion.jda.api.events.guild.member.update.GenericGuildMemberUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
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, getRawData, getResponseNumber
getOldAvatarIdThe old avatar id
- The old avatar id
getOldAvatarUrlThe previous avatar url
- The previous avatar url
ImageProxyfor this member's old avatar.
Note: the old avatar may not always be downloadable as it might have been removed from Discord.
getNewAvatarIdThe new avatar id
- The new avatar id
getNewAvatarUrlThe url of the new avatar
- The url of the new avatar