Locate the settings.json File You'll need to find the settings.json file in the following location depending on your operating system click on win + R and past:
Windows: %appdata%\discord
macOS: ~/Library/Application Support/discord/
Linux: ~/.config/discord/
Then Edit the settings.json File Open the settings.json file with a text editor like Notepad or VS Code. Add the following line to the file Dont forget comma (,):
,"DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true