Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/wackford/discordeno.ts>sendInteractionResponse

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function sendInteractionResponse
import { sendInteractionResponse } from "https://deno.land/x/wackford@v0.0.3/discordeno.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.
  • The parameters for the creation of the message.

Returns

Promise<void>

An instance of the created Message.