Overview
Reference for every public export of @djs-commands/core.
@djs-commands/core is the only required package — it ships the dispatcher, command definition, validators, cooldowns, plugins, storage contract, fs-autoloader, and the function-form Components V2 builders.
bun add @djs-commands/core discord.jsSymbols by topic
defineCommand
Command, AnyCommand, CommandRunContext, SlashRunContext, LegacyRunContext, CommandRun, CommandLegacyConfig
createCommandHandler
CommandHandler, CommandHandlerOptions, HandlerLegacyConfig
Options
Every CommandOption type, ResolveOption, ResolveOptions
Validators
Validator, ValidatorContext, ValidationResult, ValidatorSource, CanRunCommand
Cooldowns
CooldownConfig, CooldownType, CooldownActor, CacheAdapter
Plugins
PluginManifest, PluginSetupContext
Storage
Storage, StorageWhere, StorageFindOpts, runStorageConformance, framework models + helpers
Events
defineEvent, EventDefinition
fs-loader
loadCommandsFromDir, loadEventsFromDir, watchCommandsDir
Legacy parser
parseLegacyArgs, LegacyParseResult
Context normalizers
normalizeSlashContext, normalizeLegacyContext
Components V2 (functions)
container, section, button, modal, …
Last updated on
