Skip to main content

Interface: IPreconditionCondition

Methods

chatInputParallel

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

Parameters

NameTypeDescription
interactionChatInputCommandInteraction<CacheType>
commandChatInputCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext

Returns

PreconditionContainerReturn

Defined in

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


chatInputSequential

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

Parameters

NameTypeDescription
interactionChatInputCommandInteraction<CacheType>
commandChatInputCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext

Returns

PreconditionContainerReturn

Defined in

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


contextMenuParallel

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

Parameters

NameTypeDescription
interactionContextMenuCommandInteraction<CacheType>
commandContextMenuCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext

Returns

PreconditionContainerReturn

Defined in

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


contextMenuSequential

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

Parameters

NameTypeDescription
interactionContextMenuCommandInteraction<CacheType>
commandContextMenuCommand
entriesreadonly IPreconditionContainer[]
contextPreconditionContext

Returns

PreconditionContainerReturn

Defined in

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


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:36


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:20