Never been an avid user of the Discord app, preferring using on browsers. But from what I remember of a friend commenting on his misadventures with that, compatibility with Linux can be very spotty. Some times the integration was broken because of the display (XServer, Wayland, etc.), or because of the desktop environment (Gnome, Cinnamon, etc.), or because of where Discord came from (e.g. Flathub, snap, the official DEB installer), or the position of the planets (joke... probably).
You may want to play around with combinations given that.