mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Re-implement auto commands
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user