EDIT : (rewrite) So, I'm doing a mini-games bot for my discord server. I have already done a bot with multiples features and it was organize like that : - My main was handling my events. I was checking where my event was called and according to the channel, I will run my corresponding file.js. - I have my main folder, with inside, one folder with my commands, one with my "handler" (like members counting, and other autonomous things), and the last one with my images.
Do you think it's correct, bad, and what can I improve ? Can you send me your idea or your point on vue on that.
I try to make my code better each time I code, and organization is one of the thing I want to improve.
I hope it's a much more understandable.
Please read the handy DiscordJS Guide that covers this subject and maybe put a little more effort into your research next time: https://discordjs.guide/command-handling/#individual-command-files