Interface GenericUserPresenceEvent
- 
- All Superinterfaces:
- GenericEvent
 - All Known Implementing Classes:
- UserActivityEndEvent,- UserActivityStartEvent,- UserUpdateActivitiesEvent,- UserUpdateActivityOrderEvent,- UserUpdateOnlineStatusEvent
 
 public interface GenericUserPresenceEvent extends GenericEvent Indicates that the presence of aUserhas changed.
 Users don't have presences directly, this is fired when aMemberfrom aGuildchanges their presence.Can be used to track the presence updates of members. RequirementsThese events require the GUILD_PRESENCESintent to be enabled.createDefault(String)andcreateLight(String)disable this by default!Additionally, these events require 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.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description GuildgetGuild()Guild in which the presence has changed.MembergetMember()Member who changed their presence.- 
Methods inherited from interface net.dv8tion.jda.api.events.GenericEventgetJDA, getResponseNumber
 
- 
 
-