i tried modals but it doesnt work
i got a few errors before then fixed them but now the modals dont work. and ı was following the guide, did i do something wrong?
the error i was getting the "client is not defined" but now ı have fixed it
18 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!
- ✅
Marked as resolved by OPUnknown User•8mo ago
Message Not Public
Sign In & Join Server To View
i think yes but when i delete one of them the code gives the same "client is not defined" error
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
i have followed everything in the event handler guide (maybe did not read all of it)
can you give me a example
i still dont understand what should ı do
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
i created the event holder and also have putted the code inside index.js
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
i still did not understand how am ı gonna solve this problem
is it explained in the part you provided
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
now it works!
so all ı had to do was use module.exports?
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
is it possible to run the code with only execute(client) and without module.exports?
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
okays
thank you for everything