Feature

class Feature<T = unknown> implements FeatureInterface<T>

constructor(options: FeatureInterface<T>)

const { Feature } = require("afkhandler");

export default new Feature({
  run({ client, gadget }) {
    // run can be execute, callback, fire or emit
    console.log("Hello World!");
  },
});

Last updated

Was this helpful?