A simple handler for discord.js v14.


Keywords
discord, bot, context, command, event, handler, typescript, class, nodejs
License
MIT
Install
npm install sl-commands@2.1.7

Documentation

SLCommands

An advanced handler for Discord.js Bots with TypeScript and JavaScript support!




About

SLCommands is a command, context, feature, and event handler made by bluey#0012. The goal of this package is to make your Discord Bot developer's life easier.

Documentation

The official documentation can be found here: https://synclab.gitbook.io/sl-commands/

Installation


required discord.js v14

Simple Setup

JavaScript

const SLHandler = require('sl-commands').default
const path = require('path')

new SLHandler({
	botToken: 'YOUR_TOKEN_HERE',
	commandsDir: path.join(__dirname, 'commands')
})

TypeScript

import SLHandler from 'sl-commands'
import path from 'path'

new SLHandler({
	botToken: 'YOUR_TOKEN_HERE',
	commandsDir: path.join(__dirname, 'commands')
})

Support & Feature Requests

This package is looking for feedback and ideas to help cover more use cases. If you have any ideas feel free to share them with the GitHub repository's issues.