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

x/oasis/tests/deps.ts>sendInteractionResponse

An object oriented Discordeno framework
Latest
function sendInteractionResponse
import { sendInteractionResponse } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

Send a response to a users application command. The command data will have the id and token necessary to respond. Interaction tokens are valid for 15 minutes and can be used to send followup messages.

NOTE: By default we will suppress mentions. To enable mentions, just pass any mentions object.

Parameters

bot: Bot
id: bigint
token: string