From 07a9adbce25e42dcd4d1eb25ee011328d0543304 Mon Sep 17 00:00:00 2001 From: V Date: Tue, 13 Jun 2023 02:36:25 +0200 Subject: 🧹🧹 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Commands/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/api/Commands') diff --git a/src/api/Commands/types.ts b/src/api/Commands/types.ts index 9acab66..bd349e2 100644 --- a/src/api/Commands/types.ts +++ b/src/api/Commands/types.ts @@ -24,7 +24,7 @@ export interface CommandContext { guild?: Guild; } -export enum ApplicationCommandOptionType { +export const enum ApplicationCommandOptionType { SUB_COMMAND = 1, SUB_COMMAND_GROUP = 2, STRING = 3, @@ -38,7 +38,7 @@ export enum ApplicationCommandOptionType { ATTACHMENT = 11, } -export enum ApplicationCommandInputType { +export const enum ApplicationCommandInputType { BUILT_IN = 0, BUILT_IN_TEXT = 1, BUILT_IN_INTEGRATION = 2, @@ -64,7 +64,7 @@ export interface ChoicesOption { displayName?: string; } -export enum ApplicationCommandType { +export const enum ApplicationCommandType { CHAT_INPUT = 1, USER = 2, MESSAGE = 3, -- cgit