This commit is contained in:
Dragon Fire
2021-06-05 12:52:12 -04:00
parent c61ae11679
commit 64cd024e26
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = class Command {
this.memberName = options.memberName.toLowerCase(); this.memberName = options.memberName.toLowerCase();
this.description = options.description; this.description = options.description;
this.details = options.details || null; this.details = options.details || null;
this.args = options.args ? options.args.map(arg => new Argument(arg)) : []; this.args = options.args ? options.args.map(arg => new Argument(client, arg)) : [];
this.clientPermissions = options.clientPermissions || []; this.clientPermissions = options.clientPermissions || [];
this.userPermissions = options.userPermissions || []; this.userPermissions = options.userPermissions || [];
this.ownerOnly = options.ownerOnly || false; this.ownerOnly = options.ownerOnly || false;