- All Implemented Interfaces:
public class UserUpdateActivityOrderEvent extends GenericUserUpdateEvent<List<Activity>> implements GenericUserPresenceEventIndicates that the
Activityorder of a
As with any presence updates this happened for a
Memberin a Guild!
Can be used to retrieve the User who changed their Activities and their previous Activities.
Additionally, this event requires the
MemberCachePolicyto 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.
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
getGuild()Guild in which the presence has changed.
getMember()Member who changed their presence.
getNewValue()The new value
getOldValue()The old value
Methods inherited from class net.dv8tion.jda.api.events.user.update.GenericUserUpdateEvent
getEntity, getPropertyIdentifier, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGuildDescription copied from interface:
GenericUserPresenceEventGuild in which the presence has changed.
getMemberDescription copied from interface:
GenericUserPresenceEventMember who changed their presence.
getOldValueDescription copied from interface:
UpdateEventThe old value