(Discord.js)
- npm i discord.js
- npm i node.js
- npm i fs
If you use shorts commands and wants to be organized.
- First copy the content of the folder 'JavaScript/commands file' and paste it inside your main file.
- Then create a folder and name it "commands" (this folder need to be in your bot resources).
- Third put any commands like "clear.js" (you can find this command by following this link https://github.com/Shedhatch/Clear) inside the folder commands.
- Fourth start the bot and look at your console, you may see that clear.js has been loaded.