/**
* @name demoPlugin
* @version 1.1.1
* @author dogman
* @description demo plugin for Discord Re-envisioned
*/
exports = class demoPlugin {
onStart() {
console.log('Started');
};
onStop() {
console.log('Stopped');
};
}
we add exports
so you can return the plugin
let exports = class {}
{(() => {
/**
* @name demoPlugin
* @version 1.1.1
* @author dogman
* @description demo plugin for Discord Re-envisioned
*/
exports = class demoPlugin {
onStart() {
console.log('Started');
};
onStop() {
console.log('Stopped');
};
}
})()}
new exports()