Skip to content

Angelix1/cmdhandlerdefault

Repository files navigation

Setting Up the Bot

  1. Go to Config.json and configure your prefix for the bot.
  2. Make a .env file like env-example and put your bot token like shown on env-example.
    2.1. If you using repl. Then, go to Secret, make a new key called token and the value as your token.
  3. Run the bot.
  4. Congrats, You Done it.

Making a Command

  1. Make a Folder inside Commands Folder for example like info folder.
  2. Make a file called commandname.js (must lowercase) inside that sub-folder you make or use existing folder.
  3. Copy CMD-example and paste it on your new command file and start to code. After you done save it, and re-run the bot
  4. Also update the help ( commands/info/help.js ) command if u adding new command since it not Dynamic.

Releases

No releases published