Interface: PreconditionOptions
Hierarchy
↳
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:420
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:415
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