mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
use strings for finds
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
This commit is contained in:
parent
20ec156362
commit
63298f7580
1 changed files with 3 additions and 3 deletions
|
@ -47,10 +47,10 @@ interface DiscordStatus {
|
||||||
}
|
}
|
||||||
|
|
||||||
const StatusStyles = findByPropsLazy("statusItem");
|
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 PMenu = findComponentByCodeLazy(".menuItemLabel", ".menuItemInner");
|
||||||
const EmojiComponent = findComponentByCodeLazy(/\i.translateSurrogatesToInlineEmoji\(\i.name\)/);
|
const EmojiComponent = findComponentByCodeLazy(".translateSurrogatesToInlineEmoji(");
|
||||||
|
|
||||||
const customStatusSettings = getUserSettingLazy("status", "customStatus");
|
const customStatusSettings = getUserSettingLazy("status", "customStatus");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue