2.0.2 • Published 3 years ago

@zs_master1/simple-djs v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installation

npm install @zs_master1/simple-djs

Usage

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 commands

A 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
}
2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago