This is a node.js library written in typescript for more than a year that is here to simplify bot creation with automation for commands/events handling, defaults commands/events, plus some utilities classes and functions.
Install the dependency and create your main JavaScript (or TypeScript) file and write the first lines to setup the bot and the Command Handler and start it.
index.js
const{CommandHandler}=require('advanced-command-handler');CommandHandler.create({commandsDir:'commands',eventsDir:'events'}).launch({token:'the token of my bot'});
Then run this file using Node.js.
Node.js will run by default files named index.js so you can just run this :