New developer

Hello! I want to learn JavaScript for make my own Discord bots but i dont know how to start. I want to understand all i need in the beggining. Thank you!
23 Replies
d.js toolkit
d.js toolkit4mo ago
treble/luna
treble/luna4mo ago
you should learn the basics of js first before creating a bot, as djs requires a strong understanding of Javascript. Resources for that can be found in #resources
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
ok i look that there are a lot of things… what is the easiest way to start
treble/luna
treble/luna4mo ago
Picking one of the guides and learning Ideally go through all of then Some cover parts that others dont and vice versa
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
how can i load the modules i have in my src?
treble/luna
treble/luna4mo ago
wdym importing them? Thats basic js and is explained in the guides
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
i mean i have a src with a moderation folder, and i have ban file kick file etc, what i need to put in my index js to load these files
treble/luna
treble/luna4mo ago
you export a function, usually called execute which you call in whatever even should handle it and pass the parameters to that execute function
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
ohh its hard i dont understand that
treble/luna
treble/luna4mo ago
They are core concepts of js There's a reason i told you you need a solid js understanding before starting to code a discord bot
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
yh but how can i understand that
treble/luna
treble/luna4mo ago
By reading the guides in #resources and if you dont understand something, theres plenty of resources that are just a googke search away
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
treble/luna
treble/luna4mo ago
let them just learn the basics first there's no need to push then into building a framework if they dont know js
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
but there are things i dont need to know for making bots and in the discord.js docs, i didn’t found what i search
treble/luna
treble/luna4mo ago
what are you looking for
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
i want to know how to make working my files who are in my src i have the src folder, with moderation folder etc
treble/luna
treble/luna4mo ago
I told you how to do that already The reason its not in djs docs is because its basic js Which you are expected to know
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
ohhhhh what i need to read and understand not all the #resources
treble/luna
treble/luna4mo ago
Yes all the #resources You need to put in some effort
Neyzz [LIMITED]
Neyzz [LIMITED]OP4mo ago
ok

Did you find this page helpful?