# 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
- [x] Slash command handler
- [x] Message command handler
- [x] Context command handler
- [x] Event handler (with custom Events)
- [x] Inhibitor handler
- [x] Extension handler
- [x] Client Utilities
- [x] Message Utilities
- [x] Interaction Utilities
- [x] Message command handles
- [x] Extension support
- [x] ShardClient
import XernerxClient from 'xernerx';
new (class Client extends XernerxClient {
constructor() {
super([discordOptions], [xernerxOptions]);
this.connect('token');
}
})();
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)
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!
- Only compatible with ESM
- TypeScript and JavaScript support