I think you first must become member of the Official Dungeons & Dungeons server on Discord, which is easy. But until you do, direct links won't work.
Also older Discord accounts need to reverify to even login, happened to me, so that may be the other issue.