First, mute and collapse every channel category you don't care about. You only have to do this once, even if you restart Discord.
Second, click on the "Raw" button next to the file in this Gist named "COPY-THIS.js" (it's right below this readme). Then, press Ctrl+A
followed by Ctrl+C
. The code is now on your clipboard. We'll use this later. You must do this every time you restart Discord.
Developer Tools Sequence
Step 1 below varies. The remaining steps are the same for Discord Web App and Discord Desktop.
DO ONLY ONE OF THESE vvvvvvv
Discord Web App