sean
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
My issue is that the promise dont get resolved of the rest#post() neither the followup works in Discord and I dont see what the issue is.
My rest function:
getRest is a valid rest instance
My code that dont work
Image is a valid buffer generated with @napi-rs/canvas
Any ideas?
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 11/30/2023 in #djs-questions
issue with /core
Its my first time trying core since I want to have a lightbuild gateway helper and I think I do something wrong?
This is my current test script
The issue I see is that it dont set the status but I thought thats the way to do it? xD
13 replies
DIAdiscord.js - Imagine an app
•Created by sean on 9/12/2023 in #djs-questions
Bot is stuck in request
it never logs the then() part or catch()
12 replies
DIAdiscord.js - Imagine an app
•Created by sean on 7/17/2023 in #djs-questions
Does djs/rest just wait until the cf ban is over?
What I exactly mean with this is that I checked the source of djs/rest and notice that I only find a wait until its unblocked again?
Is this true and if yes is there a way that rest dont wait and just stop all requests until its unblocked again?
9 replies
DIAdiscord.js - Imagine an app
•Created by sean on 3/31/2023 in #djs-questions
High usage leak after updating to v13@latest (13.14.0)
Does DJs have any known usage leak? Because after updating djs v13 to latest after 5h the usage go over 26gb ram and 60% CPU usage the code didnt changed at all only the djs version got updated? And if not any ideas what could create such high usage in seconds?
34 replies
DIAdiscord.js - Imagine an app
•Created by sean on 3/12/2023 in #djs-questions
TypeError: this.dispatch is not a function
Hi Guys I use @discordjs/rest but when I try to do a request I always get:
My Code:
NPM Version:
@discordjs/[email protected]
NodeJS: v18.12.0
50 replies
DIAdiscord.js - Imagine an app
•Created by sean on 9/3/2022 in #djs-questions
Custom Bots
Hey guys my Question is I currently build a custom bot module for my main bot I have all done I only think about what I should do when the token of a custom bot gets invalid. Means I want to directly stop the process when this gonna happen to prevent a not needed memory leak
26 replies
DIAdiscord.js - Imagine an app
•Created by sean on 8/6/2022 in #djs-questions
Get null from a reaction?
9 replies