now back on topic: discord is pathetic web crap. i used it sometimes to add this and that people in games and the first time it immediately gave me a captcha + required a phone to join a room or make an account. i did not port scan their server or anything, let alone use it at all. from their perspective i did nothing wrong, they just have a horribly broken firewall like all webshit. it was in stock firefox too without any plugins
now i tried installing it later and it turned out to just be the same webshit in a wrapper. i immediately asked myself, hmm where is this discord program all the nerds are hyping over for the last 10 years? i asked my friends where i could get the real app (usually there is real software for a protocol that all the cool kids are using, even if it's unofficial. like with MSN (pidgin, etc), IRC (stuff other than mIRC), playing music (foobar), playing videos (mpv), etc. nope, not for discord, you just use the web shit GUI with, accordingly, worse controls than something a boomer microwave designer would make). it has all kinds of special snowflake behaviors too like alt+f4 just closes it instead of sending it to the tray (while clicking x does send it to the tray), and it cant be muted like a regular program.
Did you type this wrongly? Closing the app is a normal Windows behaviour for both Alt-F4 and clicking the X.
[edit: Parent edited their comment to say the correct thing - this comment doesn't apply any longer!]