SlashCommandClient

interface SlashCommandClient : EventListener

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun onCommandAutoCompleteEvent(event: CommandAutoCompleteInteractionEvent)

Handled when discord send an CommandAutoCompleteInteractionEvent

Link copied to clipboard
open override fun onEvent(event: GenericEvent)
Link copied to clipboard
abstract fun onModalInteractionEvent(event: ModalInteractionEvent)
Link copied to clipboard
abstract fun onSlashCommandEvent(event: SlashCommandInteractionEvent)

Handled when discord send an SlashCommandInteractionEvent

Properties

Link copied to clipboard
Link copied to clipboard

The command registry.

Inheritors

Link copied to clipboard