• This repository has been archived on 24/Dec/2021
  • Stars
    star
    500
  • Rank 88,178 (Top 2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Official command framework for discord.js

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.

More Repositories

1

discord.js

A powerful JavaScript library for interacting with the Discord API
TypeScript
24,119
star
2

guide

The official guide for discord.js, created and maintained by core members of its community.
JavaScript
1,402
star
3

discord-api-types

Up to date Discord API Typings, versioned by the API version
TypeScript
446
star
4

RPC

A simple RPC client for Discord
JavaScript
438
star
5

voice

Implementation of the Discord Voice API for discord.js and other JS/TS libraries
TypeScript
320
star
6

discord.js-modules

Modularisation of discord.js (WIP)
TypeScript
200
star
7

website

The discord.js site what else
Vue
185
star
8

opus

Native opus bindings for node
C++
173
star
9

collection

Utility data structure used in Discord.js
TypeScript
115
star
10

builders

A collection of builders that you can use when creating your bot.
TypeScript
97
star
11

docgen

The docs.json generator for discord.js and its related projects
JavaScript
65
star
12

discord-utils-bot

Discord slash command utility for discord.js bot developer support
TypeScript
56
star
13

Commando-guide

Beginner's guide for discord.js-commando.
55
star
14

discord.js-typings

Official TypeScript type definitions for Discord.js
TypeScript
49
star
15

voicelink

29
star
16

uws

Fork of node.js bindings for uWebSockets.
C++
29
star
17

discord-toolkit-bot

Discord bot application providing useful utilities to the discord.js support server
TypeScript
25
star
18

resource-webhooks

A collection of webhooks to update our resources on discord
TypeScript
20
star
19

voice-examples

A collection of examples of how to use @discordjs/voice in your projects
TypeScript
15
star
20

action-eslint

TypeScript
12
star
21

docs

Documentation files
TypeScript
11
star
22

webhook-filter

Filters out push events for specific repositories/branches from a GitHub webhook
JavaScript
11
star
23

gh-discord-middleware

TypeScript
8
star
24

action-docs

Shell
6
star
25

.github

Here lies our profile.
2
star
26

action-webpack

Shell
2
star