Skip to main content

Interface: PieceOptions

The options for the Piece.

Hierarchy

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