xernerx
TypeScript icon, indicating that this package has built-in type declarations

4.17.7 • Public • Published

Discord npm npm Read the Docs npm type definitions node-current wakatime node-current GitHub commit activity (branch)

# 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

  • [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

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

Package Sidebar

Install

npm i xernerx

Weekly Downloads

184

Version

4.17.7

License

MIT

Unpacked Size

138 kB

Total Files

71

Last publish

Collaborators

  • dummi