discordx
Preparing search index...
InteractionHandler
Class InteractionHandler
Index
Constructors
constructor
Methods
execute
Command
Interaction
execute
Component
execute
Context
Menu
execute
Interaction
Constructors
constructor
new
InteractionHandler
(
client
:
Client
)
:
InteractionHandler
Parameters
client
:
Client
Returns
InteractionHandler
Methods
execute
Command
Interaction
executeCommandInteraction
(
interaction
:
|
ChatInputCommandInteraction
<
CacheType
>
|
AutocompleteInteraction
<
CacheType
>
,
)
:
Promise
<
unknown
>
Parameters
interaction
:
ChatInputCommandInteraction
<
CacheType
>
|
AutocompleteInteraction
<
CacheType
>
Returns
Promise
<
unknown
>
execute
Component
executeComponent
(
components
:
readonly
DComponent
[]
,
interaction
:
|
ButtonInteraction
<
CacheType
>
|
ModalSubmitInteraction
<
CacheType
>
|
AnySelectMenuInteraction
,
)
:
Promise
<
unknown
>
Parameters
components
:
readonly
DComponent
[]
interaction
:
|
ButtonInteraction
<
CacheType
>
|
ModalSubmitInteraction
<
CacheType
>
|
AnySelectMenuInteraction
Returns
Promise
<
unknown
>
execute
Context
Menu
executeContextMenu
(
interaction
:
ContextMenuCommandInteraction
)
:
unknown
Parameters
interaction
:
ContextMenuCommandInteraction
Returns
unknown
execute
Interaction
executeInteraction
(
interaction
:
Interaction
)
:
unknown
Parameters
interaction
:
Interaction
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
execute
Command
Interaction
execute
Component
execute
Context
Menu
execute
Interaction
discordx
Loading...