todo: add modal

This commit is contained in:
byeoon 2024-06-10 09:47:50 -04:00 committed by GitHub
parent 8696ca0706
commit 1da50eb8f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<typeof import("./native")>;
// TODO: Create Modal
function webhookMessageModal(props: ModalProps) {
return (
<ModalRoot>
{...props}
size={ModalSize.MEDIUM}
</ModalRoot>
);
}
export default definePlugin({
name: "WebhookManager",
description: "Manage your webhooks easily; delete, send messages, get detailed info and more.",