Interface: ListenerOptions
Hierarchy
↳
ListenerOptions
Properties
emitter
• Optional
Readonly
emitter: __module
| keyof Client
<boolean
>
Defined in
projects/framework/src/lib/structures/Listener.ts:140
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
event
• Optional
Readonly
event: string
| symbol
Defined in
projects/framework/src/lib/structures/Listener.ts:141
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
once
• Optional
Readonly
once: boolean