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
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
ok i look that
there are a lot of things…
what is the easiest way to start
Picking one of the guides and learning
Ideally go through all of then
Some cover parts that others dont and vice versa
how can i load the modules i have in my src?
wdym
importing them? Thats basic js and is explained in the guides
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
you export a function, usually called execute which you call in whatever even should handle it
and pass the parameters to that execute function
ohh its hard
i dont understand that
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
yh but how can i understand that
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•4mo ago
Message Not Public
Sign In & Join Server To View
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•4mo ago
Message Not Public
Sign In & Join Server To View
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
what are you looking for
i want to know how to make working my files who are in my src
i have the src folder, with moderation folder etc
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•4mo ago
Message Not Public
Sign In & Join Server To View
ohhhhh
what i need to read and understand
not all the #resources
Yes all the #resources
You need to put in some effort
ok