AddonService - shysolocup/noscord.js GitHub Wiki

service class for creating addon service classes

if you want to make addons I highly suggest studying aepl

AeplSubClass

JS
const { Client } = require('noscord.js');                
const client = new Client();

client.import("addons");

addons.create("Example", "ex", class {
    constructor() {
        this.client = this.parent;
        this.data = [1, 2, 3];
    }
    reverse() {
        return this.data.reverse();
    }
});

client.import("ex");

Methods

Classes

🛈 create()

🛈 Addon


⚠️ **GitHub.com Fallback** ⚠️