Skip to main content

transformInteraction

Documentation


Documentation / @discordeno/bot / transformInteraction

Function: transformInteraction()

transformInteraction(bot, payload): SetupDesiredProps<Interaction, CompleteDesiredProperties<{ }, true>, RemoveKey>

Defined in: bot/src/transformers/interaction.ts:116

Parameters

bot

InternalBot

payload

interaction

DiscordInteraction

shardId

number

Returns

SetupDesiredProps<Interaction, CompleteDesiredProperties<{ }, true>, RemoveKey>