Package-level declarations

Types

Link copied to clipboard
abstract class ApplicationCommand<E : InteractionCreateEvent>(val extension: Extension) : Command, KordExKoinComponent

Abstract class representing an application command - extend this for actual implementations.

Link copied to clipboard
abstract class ApplicationCommandContext(val genericEvent: ApplicationCommandInteractionCreateEvent, val genericCommand: ApplicationCommand<*>, val cache: MutableStringKeyedMap<Any>) : CommandContext

Base class representing the shared functionality for an application command's context.

Link copied to clipboard

Abstract class representing common behavior for application command registries.

Link copied to clipboard

Registry for all Discord application commands.

Link copied to clipboard
class DummyAutocompleteCommandContext(val command: Command, event: AutoCompleteInteractionCreateEvent, val commandName: Key) : CommandContext
Link copied to clipboard
data class Localised<T>(val default: T, val translations: MutableMap<Locale, String>)

Representation of a localised object.

Link copied to clipboard

ApplicationCommandRegistry which acts based off a specified storage interface.