Class NotificationEventListener
java.lang.Object
com.zenith.discord.NotificationEventListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidhandleDeathEvent(ClientDeathEvent event) voidvoidvoidvoidvoidvoidhandleNoTotemsEvent(NoTotemsEvent event) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidstatic StringvoidsendEmbedMessage(Embed embed) Convenience proxy methodsvoidsendEmbedMessage(String message, Embed embed) voidsendEmbedMessageWithButtons(Embed embed, List<net.dv8tion.jda.api.components.buttons.Button> buttons, Consumer<net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent> mapper, Duration timeout) voidsendEmbedMessageWithButtons(String message, Embed embed, List<net.dv8tion.jda.api.components.buttons.Button> buttons, Consumer<net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent> mapper, Duration timeout) voidsendMessage(String message) voidvoidvoidupdatePresence(net.dv8tion.jda.api.OnlineStatus onlineStatus, net.dv8tion.jda.api.entities.Activity activity)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NotificationEventListener
public NotificationEventListener()
-
-
Method Details
-
subscribeEvents
public void subscribeEvents() -
handleScheduledTaskCommandExecutedEvent
-
notificationMention
-
handleSessionTimeLimitEvent
-
handleSpawnPatrolTargetKilledEvent
-
handleSpawnPatrolTargetAcquiredEvent
-
handleConnectEvent
-
handlePlayerOnlineEvent
-
handleClientConfigurationEnteringEvent
-
handleDisconnectEvent
-
handleQueueWarning
-
handleQueuePositionUpdateEvent
-
handleAutoEatOutOfFoodEvent
-
handleQueueCompleteEvent
-
handleStartQueueEvent
-
handleDeathEvent
-
handleSelfDeathMessageEvent
-
handleHealthAutoDisconnectEvent
-
handleProxyClientConnectedEvent
-
handleProxyClientConnectedEventCheck2b2tMCVersionMatch
-
handleProxySpectatorConnectedEvent
-
handleProxyClientDisconnectedEvent
-
handleVisualRangeEnterEvent
-
handleVisualRangeLeaveEvent
-
handleVisualRangeLogoutEvent
-
handleNonWhitelistedPlayerConnectedEvent
-
handleBlacklistedPlayerConnectedEvent
-
handleProxySpectatorDisconnectedEvent
-
handleActiveHoursConnectEvent
-
handleDeathMessageChatEventKillMessage
-
handleServerPlayerConnectedEventStalk
-
handleServerPlayerDisconnectedEventStalk
-
handleUpdateStartEvent
-
handleServerRestartingEvent
-
handleProxyLoginFailedEvent
-
handleStartConnectEvent
-
handlePrioStatusUpdateEvent
-
handleAutoReconnectEvent
-
handleMsaDeviceCodeLoginEvent
-
handleUpdateAvailableEvent
-
handleReplayStartedEvent
-
handleReplayStoppedEvent
-
handleTotemPopEvent
-
handleNoTotemsEvent
-
handlePluginLoadFailure
-
handlePluginLoadedEvent
-
sendEmbedMessage
Convenience proxy methods -
sendEmbedMessage
-
sendMessage
-
sendEmbedMessageWithButtons
-
sendEmbedMessageWithButtons
-
updatePresence
public void updatePresence(net.dv8tion.jda.api.OnlineStatus onlineStatus, net.dv8tion.jda.api.entities.Activity activity) -
updatePresence
public void updatePresence()
-