diff --git a/src/equicordplugins/woof/index.tsx b/src/equicordplugins/woof/index.tsx new file mode 100644 index 00000000..a72a6dbb --- /dev/null +++ b/src/equicordplugins/woof/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: "woof" }); +} + +const ChatBarIcon: ChatBarButton = () => { + return ( + + + + ); +}; + +export default definePlugin({ + name: "Woof", + description: "Adds a chatbar button to woof in chat", + authors: + [ + Devs.Samwich + ], + start() { + addChatBarButton("vc-woof", ChatBarIcon); + } +});