Some To-Do Stuff

This commit is contained in:
thororen1234 2024-11-06 04:00:38 -05:00
parent 74417ea268
commit a09a3a8a8f
3 changed files with 21 additions and 3 deletions

View file

@ -366,8 +366,13 @@ export default definePlugin({
);
data.storageAutoSaveProtocol();
// @ts-ignore
Vencord.Plugins.plugins.Settings.customSections.push(ID => ({
const customSettingsSections = (
Vencord.Plugins.plugins.Settings as any as {
customSections: ((ID: Record<string, unknown>) => any)[];
}
).customSections;
customSettingsSections.push(_ => ({
section: "iremeberyou.display-data",
label: "IRememberYou",
element: () => ui.toElement(data.usersCollection),

View file

@ -36,7 +36,13 @@ export default definePlugin({
id: "ThemeSection",
});
customSettingsSections.push(ThemeSection);
customSettingsSections.push(_ => ({
section: "ThemeLibrary",
label: "Theme Library",
searchableTitles: ["Theme Library"],
element: require("./components/ThemeTab").default,
id: "ThemeSection",
}));
},
stop() {