Folder Structure

- Top_level: (where node_modules folder is located at)
  - Second_level
    - Third_level

Example with folder names:

DO NOT PUT files INSIDE your TOP_LEVEL commands folder. FOLDERS ONLY

discord-bot/
├── commands/
│   ├── miscellaneous/   //this can be any name you want
│   │   └── ping.js
├── events/
│   └── ready.js
├── modules/
├── node_modules/
├── .env
├── config.js
├── index.js
├── package-lock.json
└── package.json

The commands folder is based on the built-in structure where we rely on the subfolders to be the category names of the commands inside the subfolders.

We're using the built-in names defined for us, for commands, events, and modules folders

These folders can be renamed to something else tailored to you. Just remember to pass into the DiscordFeaturesHandler options properties the new names of the folders for each change.

Refer to config.js for details on how to create and customize the configuration file to view the pre-made configuration and if you prefer to customize then o look at the pre-made setup to ensure the discord-features-handler will be compatible with the configuration file.

Last updated