From fc36a052d347ee2fcd022e55e25ff52343e19748 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Feb 2023 10:14:18 +0530 Subject: [PATCH] chore: Update JavaScript plugins (#71) chore: update JavaScript plugins Co-authored-by: jacoobes --- JavaScript/publish.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JavaScript/publish.js b/JavaScript/publish.js index 19102fe..d9ad606 100644 --- a/JavaScript/publish.js +++ b/JavaScript/publish.js @@ -23,8 +23,8 @@ import { ApplicationCommandType } from "discord.js"; 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, }; export function publish(options) {