[SOLVED] Unable to source error…
The code
class AutodeleteReply
:
…But wait there's more…2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.[email protected]
v18.15.0
And itself is invoked elsewhere like so:
But the So it's working now except for that timer.
@qjuh Thank you for your help!
catch
block is not being triggered here.
Edit: The support function nudf
:
Okay so just trying to understand the first part, are you saying that functions/methods only work with invoked and can't be stored?
I was trying to call const timer = require("node:timers/promises").setTimeout;
and it had no issues. Are arrays in particular the problem?
Oh okay, so when MessagePayload
refers to this
in its create
method, it's not able to access that interaction?
Looks like I was overcomplicating things… by a lot