So I tried using this at first: https://gist.github.com/k3kdude/fba6f6b37594eae3d6f9475330733bdb but this does not support sending files. I then tried to use this: https://github.com/MinnDevelopment/discord-webhooks, which does support sending attachments, but after trying forever it would just throw a java.lang.NoClassDefFoundError when I ran the jar. So my question is: Is it possible to send files through a webhook, using a single class file?
If not, my second question would be: Why can I not get the library that does support file sending to work? Am i just importing it wrong, or something else? (I tried importing from gradle, as shown in the readme.md, and from maven in Intellj.)
This is being run as a minecraft mod, java 17, and no im not making a rat
Thanks in advance