So the question "How fucked am I?" is hard to answer, because no one will be able to tell you what exactly the script does, unless they invest quite a long time reverse-engineering it. Based on what is likely...it probably steals session tokens for Discord or other popular services.
The best course of action is to check Discord for any suspicious "connected apps" and to change all your passwords. If you can, enable 2FA authentication for Discord, to limit what an attacker can do.