If you're from one of the countries affected by the Discord connection problems going on right now, switching your DNS to Google (8.8.8.8 / 8.8.4.4) or Cloudflare (1.1.1.1 / 1.0.0.1) and then restarting fixes the problem. Unsure if it's just a bandaid fix for now, but still.