Skip to content

Commit f40521f

Browse files
committed
fix(Command): sendHelp syntax error on subcommand
1 parent 8ec68ba commit f40521f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Command/Command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ class Command extends Base {
386386
} else if (this.permissions.serverMod) {
387387
perm = '`Server Mod`';
388388
} else if (this.permissions.author.needed.length > 0) {
389-
perm = this.permissions.author.permissions.author
389+
perm = this.permissions.author.needed
390390
.map(p => `\`${this.library.enums.PERMISSIONS_NAMES[p]}\``)
391391
.join(', ');
392392
}

0 commit comments

Comments
 (0)