From 7a676e7c7eaf16a30f76d24255ee0672767360b6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 1 Jun 2024 19:18:03 -0400 Subject: [PATCH] feat(Meow): Added --- src/equicordplugins/meow/index.tsx | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/equicordplugins/meow/index.tsx diff --git a/src/equicordplugins/meow/index.tsx b/src/equicordplugins/meow/index.tsx new file mode 100644 index 00000000..27169ec1 --- /dev/null +++ b/src/equicordplugins/meow/index.tsx @@ -0,0 +1,34 @@ +/* + * Vencord, a Discord client mod + * Copyright (c) 2024 Vendicated and contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +import { addChatBarButton, ChatBarButton } from "@api/ChatButtons"; +import { Devs } from "@utils/constants"; +import { getCurrentChannel, sendMessage } from "@utils/discord"; +import definePlugin from "@utils/types"; + +async function handleButtonClick() { + sendMessage(getCurrentChannel().id, { content: "meow" }); +} + +const ChatBarIcon: ChatBarButton = () => { + return ( + + + + ); +}; + +export default definePlugin({ + name: "Meow", + description: "Adds a chatbar button to meow in chat", + authors: + [ + Devs.Samwich + ], + start() { + addChatBarButton("vc-meow", ChatBarIcon); + } +});