Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

MatrixSystemPVP/MatrixCord

Repository files navigation

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.