1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

description and name change

This commit is contained in:
programminglaboratorys 2024-09-30 06:54:36 +03:00
parent b38dc1a206
commit bb64c9b1fa

View file

@ -28,10 +28,9 @@ const PMenu = findComponentByCodeLazy(/{id:\i,label:\i,icon:\i,hint:\i,renderSub
const EmojiComponent = findComponentByCodeLazy(/\i.translateSurrogatesToInlineEmoji\(\i.name\)/); const EmojiComponent = findComponentByCodeLazy(/\i.translateSurrogatesToInlineEmoji\(\i.name\)/);
const Components = findByPropsLazy("Status");
const StatusStyles = findByPropsLazy("statusItem"); const StatusStyles = findByPropsLazy("statusItem");
const statusSettings = getUserSettingLazy("status", "status");
const customStatusSettings = getUserSettingLazy("status", "customStatus"); const customStatusSettings = getUserSettingLazy("status", "customStatus");
const setStatusFunc = findByCodeLazy(/default\.track\(\i.\i.CUSTOM_STATUS_UPDATED/); 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" } }); 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({ export default definePlugin({
name: "StatusPresets_", name: "StatusPresets",
description: "do now and think later", description: "Allows you to remember your status and set it later.",
authors: [Devs.Dolfies], authors: [Devs.Dolfies],
settings: settings, settings: settings,
dependencies: ["UserSettingsAPI"], dependencies: ["UserSettingsAPI"],