Skip to main content
Module

x/discordeno/mod.ts>sendInteractionResponse

Discord API library for Deno
Extremely Popular
Go to Latest
function sendInteractionResponse
import { sendInteractionResponse } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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