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

GenericCommandContextEvent

open class GenericCommandContextEvent : GenericCommandEvent

Constructors

<init>

GenericCommandContextEvent(api: JDA, responseNumber: Long, guild: Guild, context: Context)

Functions

getContext

open fun getContext(): Context

Returns the Context of the executed command.

Inheritors

CommandExecutedEvent

open class CommandExecutedEvent : GenericCommandContextEvent

Event that is fired whenever a me.schlaubi.regnumutils.command.spi.Command was executed successfully.

CommandFailEvent

open class CommandFailEvent : GenericCommandContextEvent

Event that gets executed whenever a command fails.