@zs_master1/simple-djs
v2.0.2
Published
A fast and beginner friendly way to use the discord.js package
Downloads
21
Readme
Installation
npm install @zs_master1/simple-djsUsage
Main file
const simple_djs = require('@zs_master1/simple-djs');
new simple_djs('Your bots token here')
.setCommandsDir('cmds') //defaults to 'commands'
.setFeaturesDir('features') //optional
.load() //Loads the commandsA command file
module.exports = {
aliases: ['ping', 'test'],
description: '',
allowDMs: true,
allowGuilds: true,
arguments: [
{
name: 'argument',
description: 'This is an argument',
type: 3,
}
],
execute: (client, message, args) => {
//do something
}
}A feature file
module.exports = (client) => {
//do something
}