- All Superinterfaces:
- All Known Implementing Classes:
public interface GenericUserPresenceEvent extends GenericEventIndicates that the presence of a
Users don't have presences directly, this is fired when a
Guildchanges their presence.
Can be used to track the presence updates of members.
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.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
getGuild()Guild in which the presence has changed.
getMember()Member who changed their presence.