An extension for the xernerx framework containing a collection of commands useful for when developing a bot.
npm install xernerx-commands```
npm install xernerx-commands
ee
`js
import { XernerxCommands } from 'xernerx-commands';
import XernerxClient from 'xernerx';
new (class Client extends XernerxClient {
constructor() {
super(discordOptions, clientOptions);
this.modules.commandHandler.loadMessageCommands(messageCommandOptions);
this.modules.extensionHandler.loadExtensions({
extensions: [new XernerxCommands(this, options)],
});
this.login('token');
}
})();
``
| Name | Type | Default | Required | Description |
| ------- | --------------------------------- | ------- | -------- | -------------------------------------------------------------------- |
| include | Array\
| exclude | Array\
| prefix | Array\
| Name | aliases | Description |
| ------------- | -------- | ---------------------------------------------------------------------------- |
| evaluate | eval, ev | A command based on the Jishaku extension for discord.py. |
| ping | | A ping that will provide you with all pings. |
| documentation | docs | A command that allows you to get the documentation of Discord.js or Xernerx. |