Skip to main content

Interface: IPreconditionContainer

Implemented by

Methods

chatInputRun

chatInputRun(interaction, command, context?): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionChatInputCommandInteraction<CacheType>
commandCommand<Args, CommandOptions>
context?PreconditionContext

Returns

PreconditionContainerReturn

Defined in

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


contextMenuRun

contextMenuRun(interaction, command, context?): PreconditionContainerReturn

Parameters

NameTypeDescription
interactionContextMenuCommandInteraction<CacheType>
commandCommand<Args, CommandOptions>
context?PreconditionContext

Returns

PreconditionContainerReturn

Defined in

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


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