Interface JDACEvent

All Superinterfaces:
Event<JDACScope>
All Known Implementing Classes:
FrameworkShutdownEvent, FrameworkStartEvent, InteractionFinishedEvent, InteractionStartEvent, RuntimeCloseEvent, RuntimeOpenEvent

public interface JDACEvent extends Event<JDACScope>

An Event in general, is an occurrence of something during the runtime of JDA-Commands. For example, this can be the framework start or an interaction start.

In JDA-Commands each JDACEvent is bound to the JDACScope in which it occurs.

The IntrospectionAccess annotation present on implementors of this interface like FrameworkStartEvent indicate, which scope the JDACIntrospection passed to Listener.accept(Event, IntrospectionSkeleton) has.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default JDACScope