Package tv.phantombot.console
Class ConsoleEventHandler
java.lang.Object
tv.phantombot.console.ConsoleEventHandler
- All Implemented Interfaces:
Listener
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConsoleEventHandler
instance()
Method that returns this instance.void
onConsoleInput
(ConsoleInputEvent event) Method that is triggered when the console event fires.
-
Method Details
-
instance
Method that returns this instance.- Returns:
-
onConsoleInput
Method that is triggered when the console event fires.- Parameters:
event
-- Throws:
JSONException
-