I found this article much better: https://wiki.alopex.li/DitchingDiscord
The OP article seems like a promotion for Matrix with only a cursory and not very well informed look at other options.
Also both articles glance over serious recent efforts to modernize IRC, such as https://github.com/ObsidianIRC/ObsidianIRC and https://codeberg.org/emersion/goguma which in combination with a Mumble server is also a real Discord alternative.



















The problem is that “Discord” means something else for almost anyone and there is no alternative that 100% covers all the usecases.
For many public chats, IRC with a modern server and client is perfectly suitable, and for my private gaming sessions Mumble is as voice chat is doing fine even though friends are complaining that they can’t just use it in a browser.
For general IM stuff XMPP is best, but I guess few people use Discord for that. Matrix is in general slow and clunky, no real point of using that except if you are forced to because some very specific FOSS projects insist on using it.
P.S.: I mostly use IRC through a XMPP gateway.