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/index.d.ts:417


name

โ€ข Optional Readonly name: string

The name for the piece.

default ''

Defined in

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