Skip to main content

Class: PluginPatternCommandsPreCommandRunListener

@sapphire/plugin-pattern-commands.PluginPatternCommandsPreCommandRunListener

Hierarchy

  • Listener<typeof PreCommandRun>

    PluginPatternCommandsPreCommandRunListener

Constructors

constructor

new PluginPatternCommandsPreCommandRunListener(context)

Parameters

NameType
contextPieceContext

Overrides

Listener<typeof PatternCommandEvents.PreCommandRun\>.constructor

Defined in

projects/plugins/packages/pattern-commands/src/listeners/PluginPreCommandRun.ts:7

Methods

run

run(payload): Promise<void>

Parameters

NameType
payloadPatternPreCommandRunPayload

Returns

Promise<void>

Overrides

Listener.run

Defined in

projects/plugins/packages/pattern-commands/src/listeners/PluginPreCommandRun.ts:11