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