Skip to main content

Class: PluginPatternCommandsCommandAcceptedListener

pattern-commands/src.PluginPatternCommandsCommandAcceptedListener

Hierarchy

  • Listener<typeof CommandAccepted>

    PluginPatternCommandsCommandAcceptedListener

Constructors

constructor

new PluginPatternCommandsCommandAcceptedListener(context)

Parameters

NameType
contextPieceContext

Overrides

Listener<typeof PatternCommandEvents.CommandAccepted\>.constructor

Defined in

projects/plugins/packages/pattern-commands/src/listeners/PluginCommandAccepted.ts:8

Properties

emitter

Readonly emitter: null | EventEmitter

Inherited from

Listener.emitter

Defined in

node_modules/@sapphire/framework/dist/index.d.ts:1829


enabled

enabled: boolean

Inherited from

Listener.enabled

Defined in

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


event

Readonly event: string

Inherited from

Listener.event

Defined in

node_modules/@sapphire/framework/dist/index.d.ts:1834


location

Readonly location: PieceLocation

Inherited from

Listener.location

Defined in

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


name

Readonly name: string

Inherited from

Listener.name

Defined in

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


once

Readonly once: boolean

Inherited from

Listener.once

Defined in

node_modules/@sapphire/framework/dist/index.d.ts:1839


options

Readonly options: ListenerOptions

Inherited from

Listener.options

Defined in

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


store

Readonly store: Store<Piece<PieceOptions>>

Inherited from

Listener.store

Defined in

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

Accessors

container

get container(): Container

Returns

Container

Inherited from

Listener.container

Defined in

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

Methods

onLoad

onLoad(): unknown

Returns

unknown

Inherited from

Listener.onLoad

Defined in

node_modules/@sapphire/framework/dist/index.d.ts:1843


onUnload

onUnload(): unknown

Returns

unknown

Inherited from

Listener.onUnload

Defined in

node_modules/@sapphire/framework/dist/index.d.ts:1844


reload

reload(): Promise<void>

Returns

Promise<void>

Inherited from

Listener.reload

Defined in

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


run

run(payload): Promise<void>

Parameters

NameType
payloadPatternCommandAcceptedPayload

Returns

Promise<void>

Overrides

Listener.run

Defined in

projects/plugins/packages/pattern-commands/src/listeners/PluginCommandAccepted.ts:12


runPatternCommand

runPatternCommand(payload): Promise<void>

Parameters

NameType
payloadPatternCommandAcceptedPayload

Returns

Promise<void>

Defined in

projects/plugins/packages/pattern-commands/src/listeners/PluginCommandAccepted.ts:22


toJSON

toJSON(): ListenerJSON

Returns

ListenerJSON

Inherited from

Listener.toJSON

Defined in

node_modules/@sapphire/framework/dist/index.d.ts:1845


unload

unload(): Promise<void>

Returns

Promise<void>

Inherited from

Listener.unload

Defined in

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