From bb64c9b1fa5bef44ece608e704fb1dc90fcf26c7 Mon Sep 17 00:00:00 2001 From: programminglaboratorys Date: Mon, 30 Sep 2024 06:54:36 +0300 Subject: [PATCH] description and name change --- src/plugins/statusPresets/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/statusPresets/index.tsx b/src/plugins/statusPresets/index.tsx index f42e32bb4..135db782d 100644 --- a/src/plugins/statusPresets/index.tsx +++ b/src/plugins/statusPresets/index.tsx @@ -28,10 +28,9 @@ const PMenu = findComponentByCodeLazy(/{id:\i,label:\i,icon:\i,hint:\i,renderSub const EmojiComponent = findComponentByCodeLazy(/\i.translateSurrogatesToInlineEmoji\(\i.name\)/); -const Components = findByPropsLazy("Status"); + const StatusStyles = findByPropsLazy("statusItem"); -const statusSettings = getUserSettingLazy("status", "status"); const customStatusSettings = getUserSettingLazy("status", "customStatus"); const setStatusFunc = findByCodeLazy(/default\.track\(\i.\i.CUSTOM_STATUS_UPDATED/); const setStatus = (status: DiscordStatus) => setStatusFunc(status.text, status.emojiInfo, status.clearAfter, { "location": { "section": "Account Panel", "object": "Avatar" } }); @@ -102,8 +101,8 @@ const StatusSubMenuComponent = () => { export default definePlugin({ - name: "StatusPresets_", - description: "do now and think later", + name: "StatusPresets", + description: "Allows you to remember your status and set it later.", authors: [Devs.Dolfies], settings: settings, dependencies: ["UserSettingsAPI"],