There seems to be an arch package patching the bundled electron and using the system-wide one: https://aur.archlinux.org/packages/discord_arch_electron
It seems like as of right now Discord does not respect ~/.config/electron-flags.conf, which could possibly be resolved by using system installation of electron. Moreover, this can avoid duplicating electron binaries across different electron applications. Other electron applications should also use system-wide ones.
There seems to be an arch package patching the bundled electron and using the system-wide one: https://aur.archlinux.org/packages/discord_arch_electron
It seems like as of right now Discord does not respect
~/.config/electron-flags.conf, which could possibly be resolved by using system installation of electron. Moreover, this can avoid duplicating electron binaries across different electron applications. Other electron applications should also use system-wide ones.