mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
PinDMs: Add option to sort by most recent message
This commit is contained in:
parent
d35654b887
commit
1caaa78490
4 changed files with 38 additions and 8 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue