Skip to main content

Interface: PreconditionOptions

Hierarchy

  • Options

    โ†ณ PreconditionOptions

Properties

enabled

โ€ข Optional Readonly enabled: boolean

Whether or not the piece should be enabled. If set to false, the piece will be unloaded.

default true

Inherited from

Piece.Options.enabled

Defined in

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


name

โ€ข Optional Readonly name: string

The name for the piece.

default ''

Inherited from

Piece.Options.name

Defined in

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


position

โ€ข Optional position: null | number

The position for the precondition to be set at in the global precondition list. If set to null, this precondition will not be set as a global one.

default null

Defined in

projects/framework/src/lib/structures/Precondition.ts:114