From 0cdafd4b634351a1b6a4f81c3923e6ff63a4bfef Mon Sep 17 00:00:00 2001 From: Gary Date: Fri, 3 Feb 2023 09:25:21 -0600 Subject: [PATCH] fix: swap raw types user/msg (#70) --- TypeScript/publish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TypeScript/publish.ts b/TypeScript/publish.ts index 5f647d3..295898a 100644 --- a/TypeScript/publish.ts +++ b/TypeScript/publish.ts @@ -33,8 +33,8 @@ import { useContainer } from "../index.js"; export const CommandTypeRaw = { [CommandType.Both]: ApplicationCommandType.ChatInput, - [CommandType.CtxUser]: ApplicationCommandType.Message, - [CommandType.CtxMsg]: ApplicationCommandType.User, + [CommandType.CtxUser]: ApplicationCommandType.User, + [CommandType.CtxMsg]: ApplicationCommandType.Message, [CommandType.Slash]: ApplicationCommandType.ChatInput, } as const;