Skip to main content

Interface: ListenerOptions

Hierarchy

Properties

emitter

โ€ข Optional Readonly emitter: EventEmitter | keyof Client<boolean>

Defined in

projects/framework/src/lib/structures/Listener.ts:137


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


event

โ€ข Optional Readonly event: string

Defined in

projects/framework/src/lib/structures/Listener.ts:138


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


once

โ€ข Optional Readonly once: boolean

Defined in

projects/framework/src/lib/structures/Listener.ts:139