Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discord broke settings menu on canary.

See original GitHub issue

Discord updated their SettingsView Component and broke bd’s injection. I’ve done some researching and found out that the fix is pretty easy. All you have to do is explained below.

In line ui/settings.js L#64 you need to replace it with WebpackModules.getByDisplayName("SettingsView")

The last part is that they renamed UserSettings.prototype.generateSections => UserSettings.prototype.getPredicateSections. So you need to update two lines ui/settings.js L#68 and ui/settings.js L#100 and replace generateSections with getPredicateSections.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

Overimagine1commented, May 22, 2021

Looks like this is on all discord versions now

pazcommented, May 22, 2021


Read more comments on GitHub >

github_iconTop Results From Across the Web

Discord broke settings menu on canary. · Issue #795 - GitHub
In the app called terminal, run git clone; Open the directory; Open renderer->src->ui->settings.
Read more >
Canary is broken again : r/discordapp - Reddit
As soon as i click on a server after starting Discord Canary, it just crashes with the following error: The script this error...
Read more >
Is BetterDiscord not working? - 8 sureshot ways to fix the issue
Open Discord and click on the gear icon to go to the 'User Settings'; On the left-hand menu, under BetterDiscord, go to 'Plugins'...
Read more >
How to Fix Discord Update Failed Error [Updated]
First, you'll need to uninstall Discord. Open the Settings application using the Windows + I keyboard shortcut, or the gear icon from your...
Read more >
Discord - ArchWiki
To disable the logging that causes this pollution: go to User Settings, select "Voice & Video", scroll to bottom of the screen and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found