common / me.schlaubi.regnumutils.command.event / ListenerAdapter

ListenerAdapter

open class ListenerAdapter : JDAListenerAdapter

Extension of the JDAListenerAdapter for command events.

See Also
JDAListenerAdapterme.schlaubi.regnumutils.common.event.InterfacedEventManager

Constructors

<init>

ListenerAdapter()

Extension of the JDAListenerAdapter for command events.

Functions

onCommandExecution

open fun onCommandExecution(event: CommandExecutedEvent!): Unit

onCommandFail

open fun onCommandFail(event: CommandFailEvent!): Unit

onCommandPermissionViolation

open fun onCommandPermissionViolation(event: CommandPermissionViolationEvent!): Unit

onEvent

open fun onEvent(event: Any): Unit

onGenericCommandContextEvent

open fun onGenericCommandContextEvent(event: GenericCommandContextEvent!): Unit

onGenericCommandEvent

open fun onGenericCommandEvent(event: GenericCommandEvent!): Unit