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

x/oasis/packages/deps.ts>InteractionResponseTypes

An object oriented Discordeno framework
Latest
enum InteractionResponseTypes
Re-export
import { InteractionResponseTypes } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Members

ApplicationCommandAutocompleteResult = 8

For Application Command Options, send an autocomplete result

ChannelMessageWithSource = 4

Respond to an interaction with a message

DeferredChannelMessageWithSource = 5

ACK an interaction and edit a response later, the user sees a loading state

DeferredUpdateMessage = 6

For components, ACK an interaction and edit the original message later; the user does not see a loading state

Modal = 9

For Command or Component interactions, send a Modal response

Pong = 1

ACK a Ping

UpdateMessage = 7

For components, edit the message the component was attached to