Not Specifically DJS but Discord Related

Picked deno tag cuz dinosaur :) Trying to make a thing in java that I submit to my college's autograder, and have it send info about the grader and files back to a webhook. However, using the stuff in this class, sending the webhooks for OS info and Java info work fine, but sending the files in the project returns an error code 400 for some reason? Here are the two jsons is posts, one of the OS info which works, and one for the file structure, and the class included. { "content": null, "attachments": [], "embeds": [{ "title": "OS Info", "description": "Brand: Windows 11\nVersion: 10.0\nArchitecture: amd64", "color": 10672383, "timestamp": "2024-03-04T22:46:00.000Z" }] } { "content": null, "attachments": [], "embeds": [{ "title": "Project Files", "description": "📂 C:\Users\Sam\Documents\Gitkraken\AutoGrabber/\n 📄 .gitignore\n 📄 build.gradle.kts\n 📄 gradlew\n 📄 gradlew.bat\n 📄 README.md\n 📄 settings.gradle.kts\n 📂 src/main/\n 📂 java/me/ricky/grabber/\n 📄 Main.java\n 📂 resources/\n", "color": 10672383, "timestamp": "2024-03-04T22:46:00.000Z" }] }
1 Reply
d.js toolkit
d.js toolkit3mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP