SebastiaanYN/Open-SourceBot

Unable to add feature descripton

ay0ks opened this issue · 4 comments

ay0ks commented

Describe the bug
A clear and concise description of what the bug is.

When i try to add new feature (games)
const { Feature } = require("../../../handler");

module.exports = class extends Feature {
constructor() {
super("Игры", {
name: "Игры",
commands: ["rolldice","flipcoin","slots"],
events: []
});
}
};

Commands not appear in feature
image

cuz u need use method to register commands

ay0ks commented

cuz u need use method to register commands

I have all methods in Handler.js
Can u give example?

ay0ks commented

Describe the bug
A clear and concise description of what the bug is.

When i try to add new feature (games)
const { Feature } = require("../../../handler");

module.exports = class extends Feature {
constructor() {
super("Игры", {
name: "Игры",
commands: ["rolldice","flipcoin","slots"],
events: []
});
}
};

Commands not appear in feature
image

Please help
If you can, give code.

ay0ks commented

Any Ideas?