Skip to main content
Module

x/discordeno/mod.ts>sendInteractionResponse

Discord API library for Deno
Latest
function sendInteractionResponse
import { sendInteractionResponse } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Sends a response to an interaction.

Parameters

bot: Bot
  • The bot instance to use to make the request.
interactionId: BigString
  • The ID of the interaction to respond to.
token: string
  • The interaction token to use, provided in the original interaction.
options: InteractionResponse
  • The parameters for the creation of the message.

Returns

Promise<void>

An instance of the created Message.