mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
description and name change
This commit is contained in:
parent
b38dc1a206
commit
bb64c9b1fa
1 changed files with 3 additions and 4 deletions
|
@ -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"],
|
||||||
|
|
Loading…
Reference in a new issue