commandOptionsParser
@discordeno/bot • Docs
Documentation / @discordeno/bot / commandOptionsParser
Function: commandOptionsParser()
commandOptionsParser<
TProps
,TBehavior
>(__interaction
,options
?):ParsedInteractionOption
<TProps
,TBehavior
>
Type Parameters
• TProps extends WithAtLeast
<TransformersDesiredProperties
, object
>
• TBehavior extends DesiredPropertiesBehavior
Parameters
• __interaction: SetupDesiredProps
<Interaction
, TProps
, TBehavior
>
• options?: InteractionDataOption
[]
Returns
ParsedInteractionOption
<TProps
, TBehavior
>