Skip to main content
Module

x/harmony/mod.ts>InteractionResponseType

An easy to use Discord API Library for Deno.
Latest
enum InteractionResponseType
Re-export
import { InteractionResponseType } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Members

APPLICATION_COMMAND_AUTOCOMPLETE_RESULT = 8

Respond with auto-completions for Autocomplete Interactions

CHANNEL_MESSAGE_WITH_SOURCE = 4

Send a channel message as response.

DEFERRED_CHANNEL_MESSAGE = 5

Let the user know bot is processing ("thinking") and you can edit the response later

DEFERRED_MESSAGE_UPDATE = 6

Components: It will acknowledge the interaction and update the button to a loading state, and then you can PATCH the message later.

MODAL = 9

Respond with a Modal (Form)

PONG = 1

[HTTP Only] Just ack a ping.

UPDATE_MESSAGE = 7

Components: Sent in response to a button interaction to immediately update the message to which the button was attached