How to organise commands

I want to organise commands in a folder instead of having all of them in my index.js file. Every single tutorial I watch doesn't work and the guide doesn't help me either. I am a complete and total beginner with barely any knowledge on javascript, so please explain as simply as possible. Thanks.
6 Replies
d.js toolkit
d.js toolkit15mo ago
- 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 OP
treble/luna
treble/luna15mo ago
Discord.js requires a strong js knowledge as per #rules 3, please take some time to learn js before starting on djs Once you do
d.js docs
d.js docs15mo ago
guide Creating Your Bot: Command handling read more
kalipera
kaliperaOP15mo ago
How long do you reckon that'd take?
treble/luna
treble/luna15mo ago
depends on you
kalipera
kaliperaOP15mo ago
okay then
Want results from more Discord servers?
Add your server