The following code sends a patch request to discord which disables the new UI, this must be done via the the web/desktop client
Paste the following code into the developer console:
let headers = new Headers();
headers.append("Authorization", (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken());
headers.append("Content-Type", "application/json");
fetch("https://discord.com/api/v9/users/@me/settings-proto/1", {
method: "PATCH",
headers: headers,
body: JSON.stringify({
"settings": "ahEIARABIAEyCQoHY29tcGFjdA=="
}),
}).then(res => {
res.ok ? console.log("Success") : console.log("Failed");
})