Skip to content

Commit 380a4ef

Browse files
authored
fix: fixed oversight in passing preconditions (#239)
1 parent eebecfb commit 380a4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/structures/Command.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export abstract class Command<T = Args> extends AliasPiece {
6565
this.aliases = [...this.aliases, ...dashLessAliases];
6666
}
6767

68-
this.preconditions = new PreconditionContainerArray();
68+
this.preconditions = new PreconditionContainerArray(options.preconditions);
6969
this.parseConstructorPreConditions(options);
7070
}
7171

0 commit comments

Comments
 (0)