Organization of my bot questions
Hello, I just created my bot and I was wondering if it exist known pattern of good organizations. for the moment, I made a main index in which i call all my files in a folder for all kind of events (messageCreate and voiceStatusUpdate for the moment) each of them call files in a folder named modules to store all features related. for example I have my module "Misc" in which I call my function "ping". does it look good for you?

2 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!project/directory structure is subjective and entirely up to you
(also this isn't really djs related)