Skip to main content

Class: PluginPatternCommandsCommandAcceptedListener

@sapphire/plugin-pattern-commands.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

Methods

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