You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
541 B
JavaScript
26 lines
541 B
JavaScript
4 years ago
|
module.exports = class Command {
|
||
|
constructor(
|
||
|
client, {
|
||
|
name = null,
|
||
|
description = null,
|
||
|
category = null,
|
||
|
cooldown = 3,
|
||
|
enabled = false,
|
||
|
aliases = new Array(),
|
||
|
dmOnly = false,
|
||
|
}
|
||
|
) {
|
||
|
this.client = client;
|
||
|
this.help = {
|
||
|
name,
|
||
|
description,
|
||
|
category,
|
||
|
};
|
||
|
this.conf = {
|
||
|
cooldown,
|
||
|
enabled,
|
||
|
aliases,
|
||
|
dmOnly,
|
||
|
}
|
||
|
}
|
||
|
}
|