Skip to content

Commit 8eb252a

Browse files
committed
fix: force disable new Discord settings ui
1 parent 9918bff commit 8eb252a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/plugins/_core/settings.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ export default definePlugin({
7171
match: /(?<=function\((\i),(\i),\i\)\{)(?=let \i=Object.values\(\i\.\i\).+?(\(0,\i\.openUserSettings\))\()/,
7272
replace: (_, settingsPanel, section, openUserSettings) => `${openUserSettings}(${settingsPanel},{section:${section}});return;`
7373
}
74+
},
75+
{
76+
find: "2025-09-user-settings-redesign-1",
77+
replacement: {
78+
match: /enabled:![01],showLegacyOpen:/g,
79+
replace: "enabled:false,showLegacyOpen:"
80+
}
7481
}
7582
],
7683

0 commit comments

Comments
 (0)