# About
Xernerx is a class based discord.js framework. [BETA]
It can be customized to be a lightweight handler or a heavy customizable framework that does all the hard work for you
Features
Links
Setup
Settings
import XernerxClient from 'xernerx';
new (class Client extends XernerxClient {
constructor() {
super([discordOptions], [xernerxOptions]);
this.connect('token');
}
})();
Handlers
There are 5 handlers total
- Command handler, handles message, slash and context commands
- Event handler, has all the Discord.js events and more
- Inhibitor handler, handles conditions before commands are ran globally
- Extension handler, more info here
- Webhook handler, will allow for top.gg to get your stats (needs a rework)
Extensions
Xernerx supports the ability to use extensions, features not initially included into your code. You can use any extension based on the xernerx-extension-builder package, or make your own with it!
Notes
- Only compatible with ESM
- TypeScript and JavaScript support