matrixcord
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

MatrixCord

Discord Downloads Version

About

MatrixCord is a multipurpose framework for discord.js which is based on and extends discord.js-commando.
It's created for and used in MatrixBot a multipurpose Discord Bot.

Features

  • All features from discord.js-commando
  • Beautiful commands using Embeds
  • Changeable server specific favorite color
  • Event handler

Installation

npm install matrixcord

Sample usage

// Import in ES6 style or via require()
import { MatrixClient } from 'matrixcord'
import * as path from 'path'

const client = new MatrixClient({/* Optional options */})

client.once('ready', () => {
  client.registry
    .registerDefaultTypes() // Register Commando's default types
    .registerDefaultGroups() // Register Commando's default groups
  client.matrixRegistry
    .registerDefaultCommands({/* Optional options */}) // Register default commands
    .registerEventsIn(path.join(__dirname, 'events')) // Register all event files in the specified directory
})

client.login('BOT_TOKEN')

Documentation

View the docs here.
See the discord.js-commando documentation and discord.js documentation as well.

Package Sidebar

Install

npm i matrixcord

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

517 kB

Total Files

39

Last publish

Collaborators

  • matrixsystempvp