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

x/harmony/src/types/interactions.ts>InteractionType

An easy to use Discord API Library for Deno.
Go to Latest
enum InteractionType
import { InteractionType } from "https://deno.land/x/harmony@v2.8.0/src/types/interactions.ts";

Members

APPLICATION_COMMAND = 2

Slash Command Interaction

AUTOCOMPLETE = 4

Application Command Option Autocomplete Interaction

MESSAGE_COMPONENT = 3

Message Component Interaction

MODAL_SUBMIT = 5

When user submits a Modal

PING = 1

Ping sent by the API (HTTP-only)