discord.js-carlo
Discord.js BOT Framework
Features
- Custom command handler
- Custom Logger
- Console logging
- ERRORS
- PASSES
- WARNINGS
- Built in Discord chat logging
- DM
- GROUP
- SERVER
- Console logging
Example
index.js
const Carlo = ;const carlo = commands: __dirname + '/commands/' //Path to commands folder token: '' // BOT token prefix: '!' // BOT prefix logChat: true // Built in chat logging; const client = carlo; // _getClient() is the same as Discord.Client()const logger = carlo; // get custom logger client;
Command Example
/commands/ping.js
{ thisname = 'ping' // command name thisalias = '' // alias thisusage = '!ping' // usage/description } async { try //do code messagechannel; catcherror throw error; }; moduleexports = PingCommand;