UNPKG

discord.js-casanova

Version:

discord.js-casanova is a discord.js framework that sets up your bot as quickly as possible! all you have to do is write the commands and events! *There is a way to disable the command handler and event handler.*

15 lines (14 loc) 433 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CasanovaError = void 0; class CasanovaError extends Error { constructor(message) { super(message); Error.captureStackTrace(this, CasanovaError); this.name = "CasanovaError"; this.message = message; // debugging this.date = new Date(); } } exports.CasanovaError = CasanovaError;