I tried visiting the URL again without Discord running, and it redirected to a page on 127.0.0.1:6463 which failed to load. It seems Discord handles this by running a (presumably temporary) webserver on localhost. So, if someone sends me to one of those links, I'll get redirected to localhost, which will fail because I'm not running a webserver.
Still creepy.