Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 603 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 603 Bytes

Commands-file

(Discord.js)

Modules

  • npm i discord.js
  • npm i node.js
  • npm i fs

File

If you use shorts commands and wants to be organized.

Steps

  • 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.