Skip to main content

Interface: IPreconditionContainer

An abstracted precondition container to be implemented by classes.

since 1.0.0

Implemented by

Methods

run

โ–ธ run(message, command, context?): PreconditionContainerReturn

Runs a precondition container.

since 1.0.0

Parameters

NameTypeDescription
messageMessage<boolean>The message that ran this precondition.
commandCommand<Args, CommandOptions>The command the message invoked.
context?PreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/IPreconditionContainer.ts:37