You can turn on dark mode in Discord by going to the desktop or mobile app's "Appearance" menu and selecting the Dark theme.
The easiest way to turn off private browsing in Firefox is by simply closing all your private browsing windows.