Skip to content

Commit c270227

Browse files
author
Firebottle
committed
feat: add min args to subcommand
1 parent 1b2f28d commit c270227

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

types/modules/command-manager.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type RestrictionData = {
3030
export type SubCommand = BasicCommandDefinition & {
3131
arg: string;
3232
usage: string;
33+
minArgs?: number;
3334
regex?: boolean;
3435
fallback?: boolean;
3536
};

0 commit comments

Comments
 (0)