Package net.dv8tion.jda.api.events.user
Class GenericUserEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.user.GenericUserEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericUserUpdateEvent
,UserActivityEndEvent
,UserActivityStartEvent
,UserTypingEvent
Indicates that a
Every UserEvent is derived from this event and can be casted.
User
changed or started an activity.
Every UserEvent is derived from this event and can be casted.
Can be used to detect any UserEvent.
-
Constructor Summary
-
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Constructor Details
-
GenericUserEvent
-
-
Method Details
-
getUser
The related user instance- Returns:
- The user instance related to this event
-