From a779f9244001be4f799a1e9c5be3840d9ec13bb8 Mon Sep 17 00:00:00 2001 From: Rico040 <93081680+Rico040@users.noreply.github.com> Date: Mon, 27 May 2024 13:20:02 +1000 Subject: [PATCH] detta types --- ApplicationCommandTypes.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ApplicationCommandTypes.ts diff --git a/ApplicationCommandTypes.ts b/ApplicationCommandTypes.ts new file mode 100644 index 0000000..e6fcd5f --- /dev/null +++ b/ApplicationCommandTypes.ts @@ -0,0 +1,29 @@ +// available in vendetta-types, but it crashes + +export const enum ApplicationCommandInputType { + BUILT_IN, + BUILT_IN_TEXT, + BUILT_IN_INTEGRATION, + BOT, + PLACEHOLDER +} + +export const enum ApplicationCommandOptionType { + SUB_COMMAND = 1, + SUB_COMMAND_GROUP, + STRING, + INTEGER, + BOOLEAN, + USER, + CHANNEL, + ROLE, + MENTIONABLE, + NUMBER, + ATTACHMENT +} + +export const enum ApplicationCommandType { + CHAT = 1, + USER, + MESSAGE +} \ No newline at end of file