Skip to content

Extend Base

Kaneki edited this page Aug 4, 2021 · 1 revision

Extending Base

For the extending baseclass error, all you simply have to do is: config.json:

{
    "eris": {
        "clientOptions": {
            "disableEvents": {},
            "messageLimit": 0,
            "requestTimeout": 0,
            "restMode": true
        }
    },
    "sharder": {
        "name": "",
        "path": "",
        "shardCount": 0,
        "clusters": 0,
        "webhooks": {
            "shard": {
                "id": "",
                "token": ""
            },
            "cluster": {
                "id": "",
                "token": ""
            }
        }
    },
    "links": {
        "youtube": {}
    },
    "lavalink": {
        "nodes": [
            {
                "host": "",
                "port": 0,
                "region": "",
                "portWS": 0
            }
        ]
    },
    "webhookServer": {
        "host": "",
        "port": 0
    },
    "options": {
        "dev": true,
        "developers": [],
        "owners": [],
        "prefix": "",
        "helpCommand": {
            "title": "",
            "message": "",
            "footer": ""
        },
        "patreonCampaignID": "",
        "featureRequestChannel": "",
        "spamReportChannel": "",
        "donorPerksChannel": "",
        "errorChannel": ""
    }
}

In "path": "" enter the path to mainClass.js

Clone this wiki locally