commandhandler-js-discord

1.1.3 • Public • Published

What is this?

discordjscommandhandler is an npm that gives you A command handler in your discord bot code

Installation

npm install commandhandler-js-discord Make sure to have discord.js installed, npm i discord.js

Customization

In The const prefix = 'YOUR-PREFIX'; You must change the YOUR-PREFIX To your desigered Prefix!

In The const token = "YOUR-BOT-TOKEN"; You must change the YOUR-BOT-TOKEN To Your Bots Token!

When you make a command, you must duplicate else if (command === 'commandexample2') client.commands.get('commandexample2').execute(message, args); And you must change the (command === 'commandexample2') & client.commands.get('commandexample2').execute(message, args); To your command.

By voizdevelopment

Thank you so much for using this package by voizdevelopement! <3

Readme

Keywords

none

Package Sidebar

Install

npm i commandhandler-js-discord

Weekly Downloads

1

Version

1.1.3

License

ISC

Unpacked Size

2.23 kB

Total Files

3

Last publish

Collaborators

  • voizutilities