Skip to main content

Interface: IPreconditionContainer

Implemented by

Methods

chatInputRun

chatInputRun(interaction, command, context?): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionCommandInteraction<CacheType>
commandCommand<Args, CommandOptions>
context?PreconditionContext-

Returns

PreconditionContainerReturn

Defined in

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


contextMenuRun

contextMenuRun(interaction, command, context?): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionContextMenuInteraction<CacheType>
commandCommand<Args, CommandOptions>
context?PreconditionContext-

Returns

PreconditionContainerReturn

Defined in

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


messageRun

messageRun(message, command, context?): PreconditionContainerReturn

Parameters

NameTypeDescription
messageMessage<boolean>
commandCommand<Args, CommandOptions>
context?PreconditionContext-

Returns

PreconditionContainerReturn

Defined in

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