fix: force disable new Discord settings ui
This commit is contained in:
parent
9918bff479
commit
8eb252ad1e
1 changed files with 7 additions and 0 deletions
|
|
@ -71,6 +71,13 @@ export default definePlugin({
|
|||
match: /(?<=function\((\i),(\i),\i\)\{)(?=let \i=Object.values\(\i\.\i\).+?(\(0,\i\.openUserSettings\))\()/,
|
||||
replace: (_, settingsPanel, section, openUserSettings) => `${openUserSettings}(${settingsPanel},{section:${section}});return;`
|
||||
}
|
||||
},
|
||||
{
|
||||
find: "2025-09-user-settings-redesign-1",
|
||||
replacement: {
|
||||
match: /enabled:![01],showLegacyOpen:/g,
|
||||
replace: "enabled:false,showLegacyOpen:"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue