Class SimpleEventBusListener

java.lang.Object
net.dv8tion.jda.api.hooks.SimpleEventBusListener
All Implemented Interfaces:
EventListener

public class SimpleEventBusListener extends Object implements EventListener
  • Constructor Details

    • SimpleEventBusListener

      public SimpleEventBusListener()
    • SimpleEventBusListener

      public SimpleEventBusListener(@Nonnull com.github.rfresh2.SimpleEventBus eventBus)
  • Method Details

    • eventBus

      @Nonnull public com.github.rfresh2.SimpleEventBus eventBus()
    • onEvent

      public void onEvent(@Nonnull GenericEvent event)
      Description copied from interface: EventListener
      Handles any GenericEvent.

      To get specific events with Methods like onMessageReceived(MessageReceivedEvent event) take a look at: ListenerAdapter

      Specified by:
      onEvent in interface EventListener
      Parameters:
      event - The Event to handle.