From 60cd63163fc39fc687552ce2f9e11acd1ec815fb Mon Sep 17 00:00:00 2001 From: Wolfie <32025746+Wolfkid200444@users.noreply.github.com> Date: Sun, 10 Mar 2024 08:15:39 -0400 Subject: [PATCH] Add ChannelStore and Message import to holynotes plugin --- src/plugins/holynotes/index.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/holynotes/index.tsx b/src/plugins/holynotes/index.tsx index 882040e50..eded1c1a8 100644 --- a/src/plugins/holynotes/index.tsx +++ b/src/plugins/holynotes/index.tsx @@ -24,7 +24,8 @@ import { addButton, removeButton } from "@api/MessagePopover"; import { Devs } from "@utils/constants"; import { openModal } from "@utils/modal"; import definePlugin from "@utils/types"; -import { Menu } from "@webpack/common"; +import { ChannelStore, Menu } from "@webpack/common"; +import { Message } from "discord-types/general"; import { Popover as NoteButtonPopover } from "./components/icons/NoteButton"; import { NoteModal } from "./components/modals/Notebook"; @@ -33,10 +34,9 @@ import { DataStoreToCache } from "./utils"; const messageContextMenuPatch: NavContextMenuPatchCallback = async (children, { message }: { message: Message; }) => { children.push( -