Skip to main content

Interface: PieceOptions

The options for the Piece.

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

Defined in

node_modules/@sapphire/pieces/dist/esm/index.d.mts:204


name

Optional Readonly name: string

The name for the piece.

Default

''

Defined in

node_modules/@sapphire/pieces/dist/esm/index.d.mts:199