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

use strings for finds

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
This commit is contained in:
programminglaboratorys 2024-10-01 13:54:11 +03:00 committed by GitHub
parent 20ec156362
commit 63298f7580
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,10 +47,10 @@ interface DiscordStatus {
}
const StatusStyles = findByPropsLazy("statusItem");
const setStatus = findByCodeLazy(/default\.track\(\i.\i.CUSTOM_STATUS_UPDATED/);
const setStatus = findByCodeLazy(".CUSTOM_STATUS_UPDATED,{");
const PMenu = findComponentByCodeLazy(/{id:\i,label:\i,icon:\i,hint:\i,renderSubmenu:\i,...\i}/);
const EmojiComponent = findComponentByCodeLazy(/\i.translateSurrogatesToInlineEmoji\(\i.name\)/);
const PMenu = findComponentByCodeLazy(".menuItemLabel", ".menuItemInner");
const EmojiComponent = findComponentByCodeLazy(".translateSurrogatesToInlineEmoji(");
const customStatusSettings = getUserSettingLazy("status", "customStatus");