Skip to main content

Interface: InteractionHandlerOptions

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

Inherited from

PieceOptions.enabled

Defined in

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


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:90


name

Optional Readonly name: string

The name for the piece.

default ''

Inherited from

PieceOptions.name

Defined in

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