mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
todo: add modal
This commit is contained in:
parent
8696ca0706
commit
1da50eb8f4
1 changed files with 12 additions and 0 deletions
|
@ -5,11 +5,23 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands";
|
import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands";
|
||||||
|
import { ModalContent, ModalHeader, ModalRoot, openModalLazy } from "@utils/modal";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import definePlugin, { PluginNative } from "@utils/types";
|
import definePlugin, { PluginNative } from "@utils/types";
|
||||||
|
|
||||||
const Native = VencordNative.pluginHelpers.WebhookManager as PluginNative<typeof import("./native")>;
|
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({
|
export default definePlugin({
|
||||||
name: "WebhookManager",
|
name: "WebhookManager",
|
||||||
description: "Manage your webhooks easily; delete, send messages, get detailed info and more.",
|
description: "Manage your webhooks easily; delete, send messages, get detailed info and more.",
|
||||||
|
|
Loading…
Reference in a new issue