Seface Kit -
A powerful discord.js Command and Event handler!
English | Portuguese
Seface Kit is a Command and Event Handler for discord.js v13. Let Seface Kit do the heavy lifting of recording your commands and events, keeping your project clean and organized!
Note: Seface Kit allows organization by subfolders.
Instalations
Requirements
- Node.js 16.6.0 or newer;
- discord.js 13.3.0 or newer;
Installing
Once your project meets the requirements, run the command below in the project terminal to install the package.
Using yarn
yarn add seface-kit
Using npm
npm install seface-kit
Adding to your project
JavaScript and TypeScript support!
import { Client, Intents } from 'discord.js';
import SefaceKit from 'seface-kit';
const bot = new Client({ intents: [Intents.FLAGS.GUILDS] });
bot.on('ready', () => {
new SefaceKit(bot, {
commandsIn: 'commands',
eventsIn: 'events',
showWarns: true,
prefix: '!'
})
})
bot.login('BOT_TOKEN');
Here you can found some examples of how to create commands and listen events.