transformInteraction
Documentation / @discordeno/bot / transformInteraction
Function: transformInteraction()
transformInteraction(
bot
,payload
):SetupDesiredProps
<Interaction
,CompleteDesiredProperties
<{ },true
>,RemoveKey
>
Defined in: bot/src/transformers/interaction.ts:116
Parameters
bot
payload
interaction
shardId
number
Returns
SetupDesiredProps
<Interaction
, CompleteDesiredProperties
<{ }, true
>, RemoveKey
>