From 1da50eb8f483da5eab3a46e67d34598c614e1969 Mon Sep 17 00:00:00 2001 From: byeoon <47872200+byeoon@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:47:50 -0400 Subject: [PATCH] todo: add modal --- src/plugins/webhookManager.desktop/index.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/plugins/webhookManager.desktop/index.tsx b/src/plugins/webhookManager.desktop/index.tsx index 8b9b8eb3d..e7bfb8e3b 100644 --- a/src/plugins/webhookManager.desktop/index.tsx +++ b/src/plugins/webhookManager.desktop/index.tsx @@ -5,11 +5,23 @@ */ import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands"; +import { ModalContent, ModalHeader, ModalRoot, openModalLazy } from "@utils/modal"; import { Devs } from "@utils/constants"; import definePlugin, { PluginNative } from "@utils/types"; const Native = VencordNative.pluginHelpers.WebhookManager as PluginNative; +// TODO: Create Modal +function webhookMessageModal(props: ModalProps) { + return ( + + {...props} + size={ModalSize.MEDIUM} + + ); +} + + export default definePlugin({ name: "WebhookManager", description: "Manage your webhooks easily; delete, send messages, get detailed info and more.",