1.0.1 • Published 2 years ago
reliablecmds v1.0.1
This package is Under Development.
Table of Contents
Installation
npm i reliablecmds
Setup
After you have installed ReliableCmds you need to initilize ReliableCmds in your project:
const Discord = require('discord.js);
const ReliableCmds = require('reliablecmds');
const { token } = require('config.json');
const client = new Discord.Client();
client.on('ready' , () => {
console.log(`${client.user.tag} has logged in!`);
new ReliableCmds(client);
})
client.login(token);
You can specify your commands folder by doing-
new ReliableCmds(client , 'bot-commands`);
If you leave the commands
field blank it will default to commands
.
Support and Feature Requests
If you have any ideas feel free to share them at my socials -
- Discord - probably araaa#5812
- Email - aatherfgamerplayzs@gmail.com