We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eebecfb commit 380a4efCopy full SHA for 380a4ef
src/lib/structures/Command.ts
@@ -65,7 +65,7 @@ export abstract class Command<T = Args> extends AliasPiece {
65
this.aliases = [...this.aliases, ...dashLessAliases];
66
}
67
68
- this.preconditions = new PreconditionContainerArray();
+ this.preconditions = new PreconditionContainerArray(options.preconditions);
69
this.parseConstructorPreConditions(options);
70
71
0 commit comments