Describe your proposal
You can create a package that wraps Klasa and swaps out the klasa console to your api posting version. Then you would be in control of your own licensing, while still complying with klasa licensing, and tracking changes from klasa (because it would be a dependency).
More Details
index.js
const Klasa = require('klasa');
module.exports = {
...Klasa,
BotbindConsole: require('./lib/BotbindConsole'),
Client: require('./lib/Client')
};
lib/Client.js
const { Client } = require('klasa');
const BotbindConsole = require('./BotbindConsole');
class BotbindClient extends Client {
constructor(...args) {
super(...args);
this.console = new BotbindConsole(this.options.console);
}
}
module.exports = BotbindClient;
lib/BotbindConsole.js
class BotbindConsole extends KlasaConsole with the changes you want... you get the idea
Describe your proposal
You can create a package that wraps Klasa and swaps out the klasa console to your api posting version. Then you would be in control of your own licensing, while still complying with klasa licensing, and tracking changes from klasa (because it would be a dependency).
More Details
index.js
lib/Client.js
lib/BotbindConsole.js
class BotbindConsole extends KlasaConsole with the changes you want... you get the idea