Skip to content

Instantly share code, notes, and snippets.

@elderlabs
Last active May 1, 2025 23:56
Show Gist options
  • Save elderlabs/cae06cd191d997016fb4175098a8dc39 to your computer and use it in GitHub Desktop.
Save elderlabs/cae06cd191d997016fb4175098a8dc39 to your computer and use it in GitHub Desktop.
Restores the old pre-March 2025 Discord Desktop theme in BetterDiscord -- READ THE COMMENT BELOW
/**
* @name Restore Old Client Layout
* @author Your Mother
* @description Restores the pre-March 2025 Discord Desktop UI. Shamelessly stolen from @zrodevkaan in the BD chat. Thanks kaan.
* @version 1
* @source https://gist.github.com/elderlabs/cae06cd191d997016fb4175098a8dc39
*/
module.exports = class discordExperiments {
start() {
try {
BdApi.Webpack.getModule(x=>x.ZP.updatedUnsyncedSettings).ZP.updatedUnsyncedSettings({disableVisualRefresh: 1})
} catch (err) {
return console.log(err);
}
}
stop() {
BdApi.showNotice("Reload Discord to disable 'Restore Old Client Layout'.", {
type: "info",
buttons: [{
label: "Reload",
onClick: () => location.reload()
}]
});
}
}
@LastStardaughter
Copy link

@elderlabs how do I use this in BD?

@elderlabs
Copy link
Author

@LastStardaughter copy/paste the CSS into BD's CSS editor in settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment