Interface Sourced

All Known Subinterfaces:
UserDemoteEvent, UserPromoteEvent, UserTrackEvent

public interface Sourced
Represents an event with a Source.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the events source.
  • Method Details

    • getSource

      @NonNull Source getSource()
      Gets the events source.

      Never returns null. In situations where the source is unknown, a Source with type Source.Type.UNKNOWN is returned.

      Returns:
      the source