Skip to main content

Interface: CommandOptions

Hierarchy

  • Options

  • FlagStrategyOptions

    CommandOptions

Properties

aliases

Optional Readonly aliases: readonly string[]

Inherited from

AliasPiece.Options.aliases

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:668


cooldownDelay

Optional cooldownDelay: number

Defined in

projects/framework/src/lib/structures/Command.ts:663


cooldownFilteredUsers

Optional cooldownFilteredUsers: string[]

Defined in

projects/framework/src/lib/structures/Command.ts:678


cooldownLimit

Optional cooldownLimit: number

Defined in

projects/framework/src/lib/structures/Command.ts:656


cooldownScope

Optional cooldownScope: BucketScope

Defined in

projects/framework/src/lib/structures/Command.ts:670


description

Optional description: string

Defined in

projects/framework/src/lib/structures/Command.ts:599


detailedDescription

Optional detailedDescription: DetailedDescriptionCommand

Defined in

projects/framework/src/lib/structures/Command.ts:606


enabled

Optional Readonly enabled: boolean

Inherited from

AliasPiece.Options.enabled

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:417


flags

Optional flags: boolean | readonly string[]

Inherited from

FlagStrategyOptions.flags

Defined in

projects/framework/src/lib/utils/strategies/FlagUnorderedStrategy.ts:13


fullCategory

Optional fullCategory: string[]

Defined in

projects/framework/src/lib/structures/Command.ts:621


generateDashLessAliases

Optional generateDashLessAliases: boolean

Defined in

projects/framework/src/lib/structures/Command.ts:585


generateUnderscoreLessAliases

Optional generateUnderscoreLessAliases: boolean

Defined in

projects/framework/src/lib/structures/Command.ts:592


name

Optional Readonly name: string

Inherited from

AliasPiece.Options.name

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:412


nsfw

Optional nsfw: boolean

Defined in

projects/framework/src/lib/structures/Command.ts:649


options

Optional options: boolean | readonly string[]

Inherited from

FlagStrategyOptions.options

Defined in

projects/framework/src/lib/utils/strategies/FlagUnorderedStrategy.ts:21


preconditions

Optional preconditions: readonly PreconditionEntryResolvable[]

Defined in

projects/framework/src/lib/structures/Command.ts:629


prefixes

Optional prefixes: string[]

Inherited from

FlagStrategyOptions.prefixes

Defined in

projects/framework/src/lib/utils/strategies/FlagUnorderedStrategy.ts:27


quotes

Optional quotes: [string, string][]

Defined in

projects/framework/src/lib/structures/Command.ts:642


requiredClientPermissions

Optional requiredClientPermissions: PermissionResolvable

Defined in

projects/framework/src/lib/structures/Command.ts:685


requiredUserPermissions

Optional requiredUserPermissions: PermissionResolvable

Defined in

projects/framework/src/lib/structures/Command.ts:692


runIn

Optional runIn: null | CommandOptionsRunType | CommandOptionsRunTypeEnum | readonly (CommandOptionsRunType | CommandOptionsRunTypeEnum)[]

Defined in

projects/framework/src/lib/structures/Command.ts:699


separators

Optional separators: string[]

Inherited from

FlagStrategyOptions.separators

Defined in

projects/framework/src/lib/utils/strategies/FlagUnorderedStrategy.ts:33


typing

Optional typing: boolean

Defined in

projects/framework/src/lib/structures/Command.ts:706