The point is that IRC as a protocol makes it possible to join the FreeNode “home” from any compatible client on any platform. And users can modify most of these clients to their liking. Same with email or Matrix.
But with Discord users are locked in to use the closed source Discord clients, or reverse engineer the discord “protocol” and risk being banned because of it.