Interface: IPreconditionContainer
Implemented by
Methods
chatInputRun
▸ chatInputRun(interaction
, command
, context?
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
interaction | ChatInputCommandInteraction <CacheType > | |
command | Command <Args , CommandOptions > | |
context? | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/IPreconditionContainer.ts:46
contextMenuRun
▸ contextMenuRun(interaction
, command
, context?
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
interaction | ContextMenuCommandInteraction <CacheType > | |
command | Command <Args , CommandOptions > | |
context? | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/IPreconditionContainer.ts:54
messageRun
▸ messageRun(message
, command
, context?
): PreconditionContainerReturn
Parameters
Name | Type | Description |
---|---|---|
message | Message <boolean > | |
command | Command <Args , CommandOptions > | |
context? | PreconditionContext |
Returns
Defined in
projects/framework/src/lib/utils/preconditions/IPreconditionContainer.ts:38