Class SimpleEventBusListener
java.lang.Object
net.dv8tion.jda.api.hooks.SimpleEventBusListener
- All Implemented Interfaces:
EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.rfresh2.SimpleEventBuseventBus()voidonEvent(GenericEvent event) Handles anyGenericEvent.
-
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
Description copied from interface:EventListenerHandles anyGenericEvent.To get specific events with Methods like
onMessageReceived(MessageReceivedEvent event)take a look at:ListenerAdapter- Specified by:
onEventin interfaceEventListener- Parameters:
event- The Event to handle.
-