commandOptionsParser
Documentation / @discordeno/bot / commandOptionsParser
Function: commandOptionsParser()
commandOptionsParser<
TProps
,TBehavior
>(__interaction
,options
?):ParsedInteractionOption
<TProps
,TBehavior
>
Defined in: packages/bot/src/commandOptionsParser.ts:17
Type Parameters
• TProps extends TransformersDesiredProperties
& object
• TBehavior extends DesiredPropertiesBehavior
Parameters
__interaction
SetupDesiredProps
<Interaction
, TProps
, TBehavior
>
options?
Returns
ParsedInteractionOption
<TProps
, TBehavior
>