net-helper/modules/example.js
2025-01-23 16:22:26 +03:00

11 lines
286 B
JavaScript

const { NetHelperModule } = global.moduleApi;
module.exports = class ExampleMdoule extends NetHelperModule {
constructor () {
super();
this.operators.push(new this.statics.Operator("testi", () => true, () => {
console.log("BEEP");
}));
}
};