diff options
Diffstat (limited to 'src/plugins/pinDms/index.tsx')
-rw-r--r-- | src/plugins/pinDms/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/pinDms/index.tsx b/src/plugins/pinDms/index.tsx index 1cc6289..3bb6735 100644 --- a/src/plugins/pinDms/index.tsx +++ b/src/plugins/pinDms/index.tsx @@ -21,7 +21,7 @@ import definePlugin from "@utils/types"; import { Channel } from "discord-types/general"; import { addContextMenus, removeContextMenus } from "./contextMenus"; -import { getPinAt, isPinned, snapshotArray, usePinnedDms } from "./settings"; +import { getPinAt, isPinned, settings, snapshotArray, usePinnedDms } from "./settings"; export default definePlugin({ name: "PinDMs", @@ -30,6 +30,8 @@ export default definePlugin({ dependencies: ["ContextMenuAPI"], + settings, + start: addContextMenus, stop: removeContextMenus, |