MatrixCord

A multipurpose framework for discord.js

Get started

Discord Downloads Version

# About

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

# Features

# 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')

# Contact

You can contact us and ask for help in our discord server (opens new window)