handleInteractionCreate
@discordeno/bot • Docs
Documentation / @discordeno/bot / handleInteractionCreate
Function: handleInteractionCreate()
handleInteractionCreate(
bot
,data
,shardId
):Promise
<void
>
Parameters
• bot: Bot
<TransformersDesiredProperties
, RemoveKey
>
• data: DiscordGatewayPayload
• shardId: number
Returns
Promise
<void
>
Defined in
packages/bot/src/handlers/interactions/INTERACTION_CREATE.ts:4