Interface: IPreconditionCondition
Methods
chatInputParallel
▸ chatInputParallel(interaction
, command
, entries
, context
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
interaction | ChatInputCommandInteraction <CacheType > | |
command | ChatInputCommand | |
entries | readonly IPreconditionContainer [] | |
context | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:68
chatInputSequential
▸ chatInputSequential(interaction
, command
, entries
, context
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
interaction | ChatInputCommandInteraction <CacheType > | |
command | ChatInputCommand | |
entries | readonly IPreconditionContainer [] | |
context | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:52
contextMenuParallel
▸ contextMenuParallel(interaction
, command
, entries
, context
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
interaction | ContextMenuCommandInteraction <CacheType > | |
command | ContextMenuCommand | |
entries | readonly IPreconditionContainer [] | |
context | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:100
contextMenuSequential
▸ contextMenuSequential(interaction
, command
, entries
, context
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
interaction | ContextMenuCommandInteraction <CacheType > | |
command | ContextMenuCommand | |
entries | readonly IPreconditionContainer [] | |
context | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:84
messageParallel
▸ messageParallel(message
, command
, entries
, context
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
message | Message <boolean > | |
command | MessageCommand | |
entries | readonly IPreconditionContainer [] | |
context | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:36
messageSequential
▸ messageSequential(message
, command
, entries
, context
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
message | Message <boolean > | |
command | MessageCommand | |
entries | readonly IPreconditionContainer [] | |
context | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/conditions/IPreconditionCondition.ts:20