discord.js-commando

Official command framework for discord.js

Showing:

Popularity

Downloads/wk

14.8K

GitHub Stars

512

Maintenance

Last Commit

5mos ago

Contributors

48

Package

Dependencies

4

Size (min+gzip)

23.5KB

License

Apache-2.0

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Reviews

Average Rating

5.0/51
Read All Reviews
WarenGonzaga

Top Feedback

1Great Documentation
1Easy to Use
1Performant
1Highly Customizable

Readme

Commando

Discord Downloads Version Dependency status Build status

About

Commando is the official command framework for discord.js. It is flexible, fully object-oriented, easy to use, and makes it trivial to create your own powerful commands. Additionally, it makes full use of ES2017's async/await functionality for clear, concise code that is simple to write and easy to comprehend.

Features

  • Plain command names and aliases
  • Regular expression triggers
  • Robust parsing of arguments (with "quoted strings" support)
  • Sophisticated argument system (optional)
    • Automatic prompting for arguments that aren't provided
    • Type system with rules, automatic validation, and parsing to usable values
      • Basic types (string, integer, float, boolean)
      • Discord objects (user, member, role, channel, message)
      • User-defined custom types
      • Union types
    • Automatic re-prompting of invalid arguments
    • Optional arguments with default values
    • Infinite arguments (arguments that accept as many values as provided)
  • Multiple responses to commands
  • Command editing (user edits their message that triggered the command, and the bot's response updates with it)
  • Command reloading, as well as loading/unloading
  • Command throttling/cooldowns

Installation

Node 12.0.0 or newer is required.
npm install discord.js@12 discord.js-commando

Documentation

View the docs here.
See the discord.js documentation as well.

Rate & Review

Great Documentation1
Easy to Use1
Performant1
Highly Customizable1
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
Waren GonzagaMetro Manila, Philippines51 Ratings620 Reviews
I'm the person who wastes my time just to save yours! ✌😎
1 year ago
Great Documentation
Performant
Easy to Use
Highly Customizable

The official discord.js command framework. This will make your commands powerful and organized. A must have framework for any JS based Discord bot developer.


0

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial