Skip to main content

Interface: IPreconditionCondition

Methods

chatInputParallel

chatInputParallel(interaction, command, entries, context): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionCommandInteraction<CacheType>
commandChatInputCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:64


chatInputSequential

chatInputSequential(interaction, command, entries, context): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionCommandInteraction<CacheType>
commandChatInputCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:49


contextMenuParallel

contextMenuParallel(interaction, command, entries, context): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionContextMenuInteraction<CacheType>
commandContextMenuCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:94


contextMenuSequential

contextMenuSequential(interaction, command, entries, context): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionContextMenuInteraction<CacheType>
commandContextMenuCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:79


messageParallel

messageParallel(message, command, entries, context): PreconditionContainerReturn

Parameters

NameTypeDescription
messageMessage<boolean>
commandMessageCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:34


messageSequential

messageSequential(message, command, entries, context): PreconditionContainerReturn

Parameters

NameTypeDescription
messageMessage<boolean>
commandMessageCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext-

Returns

PreconditionContainerReturn

Defined in

projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:19