Skip to main content
Module

x/harmony/mod.ts>ApplicationCommandOptionType

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

Members

ATTACHMENT = 11

Attachment option type

BOOLEAN = 5

Boolean option type

CHANNEL = 7

Channel option type

INTEGER = 4

Integer option type

MENTIONABLE = 9

Union of User and Role option type

NUMBER = 10

Number option type, similar to JS Number. Can be both integer and float

ROLE = 8

Role option type

STRING = 3

String option type

SUB_COMMAND = 1

A sub command that is either a part of a root command or Sub Command Group

SUB_COMMAND_GROUP = 2

A sub command group that is present in root command's options

USER = 6

User option type