Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xernerx

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xernerx

A bot framework for discord.js.

  • 4.5.18
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
decreased by-83.61%
Maintainers
1
Weekly downloads
 
Created
Source

Discord npm npm Read the Docs npm type definitions node-current

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

  • Slash command handler
  • Message command handler
  • Context command handler
  • Event handler (with custom Events)
  • Inhibitor handler
  • Extension handler
  • Client Utilities
  • Message Utilities
  • Interaction Utilities
  • Message command handles
  • Extension support
  • ShardClient

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

Keywords

FAQs

Package last updated on 02 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc