An attempt at documenting switches in the Discord settings.json
It is very easy to contribute! Everything is just JSDoc in settings.json.d.ts!
README.md is gitignored because the bot will always generate it.
If you wanna give it a go locally, just run npm i & npx typedoc.
The prepend.md file is what is attached to the top of the documentation.
%appdata%\discord\settings.json
~/.config/discord/settings.json
~/Library/Application Support/discord/settings.json
DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING is excluded from the table because it messes up my tables.
This is just the boolean toggle for Chromium devtools in Discord. On builds other than stable, it defaults to true
| Property | Type | Description |
|---|---|---|
asyncVideoInputDeviceInit |
boolean |
- |
audioSubsystem |
"experimental" |
Default "experimental" |
BACKGROUND_COLOR |
string |
Hex color of the theme the Discord client is using Can be a custom color with nitro, or preset from a theme. * Note: Discord will ignore manual updates to this variable Default #000000 |
chromiumSwitches |
object |
unsure if this is different from accepted command line args? Link https://peter.sh/experiments/chromium-command-line-switches/ |
DESKTOP_TTI_EARLY_UPDATE_CHECK |
boolean |
Default [Windows: true, MacOS: true] |
DISCORD_TTI_DNSTCP_WARMUP |
boolean |
Default [Windows: true] |
enableHardwareAcceleration |
boolean |
Whether hardware acceleration is enabled Controlled by the "Enable Hardware Acceleration" setting Default true |
IS_MAXIMIZED |
boolean |
Whether the window is maximized |
IS_MINIMIZED |
boolean |
Whether the window is minimized |
MIN_HEIGHT |
number |
- |
MIN_WIDTH |
number |
- |
MINIMIZE_TO_TRAY |
boolean |
Whether Discord minimizes to the tray when closed Controlled by the "Minimize Discord to System Tray" option |
offloadAdmControls |
boolean |
Default true |
OPEN_ON_STARTUP |
boolean |
- |
openH264Enabled |
boolean |
Default [Linux: true] |
SKIP_HOST_UPDATE |
boolean |
Whether discord will attempt to auto update Default true |
SKIP_MODULE_UPDATE |
boolean |
- |
START_MINIMIZED |
boolean |
Whether Discord minimizes to the tray at startup Controlled by the "Start Discord Minimized" option |
trayBalloonShown |
boolean |
- |
USE_NEW_UPDATER |
boolean |
Default [MacOS: true] |
WEBAPP_ENDPOINT |
string |
Points to the respective endpoint for Discord. ptb has ptb.discord.com, etc. Default "https://discord.com/app" |
WINDOW_BOUNDS |
object |
Location and size of the Discord window |
WINDOW_BOUNDS.height |
number |
Height of the window in pixels |
WINDOW_BOUNDS.width |
number |
Width of the window in pixels |
WINDOW_BOUNDS.x |
number |
Horizontal position of the window |
WINDOW_BOUNDS.y |
number |
Vertical position of the window |