Re-implement auto commands

This commit is contained in:
Dragon Fire
2024-04-06 19:54:49 -04:00
parent 73238a90a2
commit 1681675e46
6 changed files with 61 additions and 18 deletions
+1
View File
@@ -12,6 +12,7 @@ module.exports = class Command {
this.details = options.details || null;
this.flags = options.flags || [];
this.args = options.args ? options.args.map(arg => new Argument(client, arg)) : [];
this.patterns = options.patterns || [];
this.clientPermissions = options.clientPermissions || [];
this.userPermissions = options.userPermissions || [];
this.ownerOnly = options.ownerOnly || false;