I know the issue but not how to fix it
Basically I have a util thing which handles command errors,
this.container.util.handleError(message, error);
, but since i'm on purpose getting a command to error to test the handling it thinks like i'm re defining it or something, don't know how to explain it, idk if this has to do with anything but i'm using the Sapphire Framework4 Replies
- 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!vsc highligthing this in the command:
const db = require("../../Schemas/Errors");
util:
Make them the what the actual file structure is
You import one from the path schemas/Errors and one from Schemas/Errors
ohh
yeah that's was it ty