Archived
fixed visible prop bug
This commit is contained in:
1 parent
dc4787fcea
commit
aed8044905
1 file changed
+1
-1
+1
-1
@@ -50,7 +50,7 @@ class Command {
|
|||||||
this.description = options.description || "No description";
|
this.description = options.description || "No description";
|
||||||
this.usage = options.usage || "";
|
this.usage = options.usage || "";
|
||||||
this.permissions = new Permissions(options.permissions || 0);
|
this.permissions = new Permissions(options.permissions || 0);
|
||||||
this.visible = options.visible || true;
|
this.visible = options.visible != undefined ? options.visible : true;
|
||||||
this.function = options.function;
|
this.function = options.function;
|
||||||
}
|
}
|
||||||
async start(message?: Message, cmdArguments?: string[]) {
|
async start(message?: Message, cmdArguments?: string[]) {
|
||||||
|
|||||||
Reference in new issue
Block a user