CommandSucceededEvent

sealed interface CommandSucceededEvent<C : Command, E : Event> : CommandEvent<C, E>

Basic event emitted when a command's invocation succeeds.

Inheritors

Properties

Link copied to clipboard
abstract val command: C

Command object that this event concerns.

Link copied to clipboard
@KordPreview
open override val customContext: MutableStringKeyedMap<Any>
Link copied to clipboard
abstract val event: E

Event object that triggered this invocation.

Link copied to clipboard

Provides direct access to the map KordEx registers for Event.customContext.

Link copied to clipboard
open val gateway: Gateway
Link copied to clipboard
open override val kord: Kord
Link copied to clipboard
open override val shard: Int

Functions

Link copied to clipboard
open override fun getKoin(): Koin

Get the associated Koin instance.