Skip to main content
Version: 0.1.10

CommandKit

CommandKit

new CommandKit(options)
ParameterTypeOptionalDescription
optionsCommandKitOptionsThe default CommandKit configuration.

Properties

public static _instance: any

public client: any

Get the client attached to this CommandKit instance.

public commandHandler: any

Get command handler instance.

public commands: any

public commandsPath: any

public devGuildIds: any

public devRoleIds: any

public devUserIds: any

public eventsPath: any

public validationsPath: any

Methods

public reloadCommands(type?): Promise<void>

Updates application commands with the latest from "commandsPath".

ParameterTypeOptional
typeReloadOptions

public reloadEvents(): Promise<void>

Updates application events with the latest from "eventsPath".

public reloadValidations(): Promise<void>

Updates application command validations with the latest from "validationsPath".