#Export Problem
9 messages · Page 1 of 1 (latest)
- 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!
virtually all djs structures have a client property so you shouldn't need to export
But I cant use it like const client = require("../index.js");
but why. Just make a function that takes a client as a parameter and call that function in your ready event
Yea I know it but I use in database file.
I dont understand how can I do that.... sorry