Skip to main content

Interface: InteractionHandlerOptions

Hierarchy

  • Options

    InteractionHandlerOptions

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/esm/index.d.mts:204


interactionHandlerType

Readonly interactionHandlerType: InteractionHandlerTypes

The type of interaction this handler is for. Must be one of InteractionHandlerTypes.

Defined in

projects/framework/src/lib/structures/InteractionHandler.ts:93


name

Optional Readonly name: string

The name for the piece.

Default

''

Inherited from

Piece.Options.name

Defined in

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