Unable to add feature descripton
ay0ks opened this issue · 4 comments
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: []
});
}
};
cuz u need use method to register commands
cuz u need use method to register commands
I have all methods in Handler.js
Can u give example?
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: []
});
}
};
Please help
If you can, give code.
Any Ideas?