@typed-discord/interactions-codegen
Preparing search index...
createSlashCommandHandler
Function createSlashCommandHandler
createSlashCommandHandler
(
interactionType
:
TypeNode
,
options
:
Option
[]
,
)
:
FunctionTypeNode
Creates a handler type for a slash command.
Parameters
interactionType
:
TypeNode
The type of the interaction.
options
:
Option
[]
The options.
Returns
FunctionTypeNode
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@typed-discord/interactions-codegen
Loading...
Creates a handler type for a slash command.