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

public abstract class GenericUserEvent extends Event
Indicates that a 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 Details

  • Method Details

    • getUser

      @Nonnull public User getUser()
      The related user instance
      Returns:
      The user instance related to this event