Possibly it can, but it is overly complicated and requires software upgrades; both the browser and the Discord software itself is; and apparently it uses up a lot of RAM, and has other problems.
IRC doen't have these problems; you can write your own (and make one which is much simpler than Discord, Firefox, and Chromium), or just use it directly.
I'm not sure what you Re talking about in terms of resources - I personally just tried to open Discord for Hyprland on my medium ranged mobile phone from the 2022 and it worked fine. Memory consumption is on screenshot - nothing like "a lot". Link to screenshot https://photos.google.com/share/AF1QipOp7mMblNY0PDtdTOtBFwGD... for about:processes on my Firefox
IRC doen't have these problems; you can write your own (and make one which is much simpler than Discord, Firefox, and Chromium), or just use it directly.