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.
- All features from discord.js-commando
- Beautiful commands using Embeds
- Changeable server specific favorite color
- Event handler
npm install matrixcord
// 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')
View the docs here.
See the discord.js-commando documentation and discord.js documentation as well.