From 751b68997f9f793954f6706bd129fe8888607cbb Mon Sep 17 00:00:00 2001 From: SkyBlockDev <72335827+SkyBlockDev@users.noreply.github.com> Date: Mon, 14 Jun 2021 15:12:28 +0200 Subject: [PATCH] fix(command): removed uppercase u --- src/struct/commands/Command.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/struct/commands/Command.ts b/src/struct/commands/Command.ts index e792ccb..a6dcca2 100644 --- a/src/struct/commands/Command.ts +++ b/src/struct/commands/Command.ts @@ -17,7 +17,7 @@ export class NaticoCommand extends NaticoModule { superUserOnly: boolean | undefined; options?: ArgOptions[]; clientPermissions: PermissionStrings[] | undefined; - UserPermissions: PermissionStrings[] | undefined; + userPermissions: PermissionStrings[] | undefined; constructor( id: string, @@ -32,7 +32,7 @@ export class NaticoCommand extends NaticoModule { superUserOnly, options, clientPermissions, - UserPermissions, + userPermissions, }: { options?: ArgOptions[]; @@ -45,7 +45,7 @@ export class NaticoCommand extends NaticoModule { ownerOnly?: boolean; superUserOnly?: boolean; clientPermissions?: PermissionStrings[]; - UserPermissions?: PermissionStrings[]; + userPermissions?: PermissionStrings[]; } ) { super(id); @@ -57,7 +57,7 @@ export class NaticoCommand extends NaticoModule { this.name = name?.toLowerCase() || id.toLowerCase(); this.examples = examples || [`${name}`]; this.clientPermissions = clientPermissions; - this.UserPermissions = UserPermissions; + this.userPermissions = UserPermissions; this.id = id; this.aliases = aliases || [this.id];