this npm gives you a command handler for discord js
npm install commandhandler-js-discordnpm install commandhandler-js-discord
npm i discord.js
const prefix = 'YOUR-PREFIX'; You must change the YOUR-PREFIX To your desigered Prefix!
const token = "YOUR-BOT-TOKEN"; You must change the YOUR-BOT-TOKEN To Your Bots Token!
else if (command === 'commandexample2') client.commands.get('commandexample2').execute(message, args);
(command === 'commandexample2') & client.commands.get('commandexample2').execute(message, args); To your command.