Add Modal

This commit is contained in:
2022-01-14 14:27:19 +01:00
parent ee8e4b9fb9
commit a2f035ce1a
13 changed files with 592 additions and 101 deletions

View File

@@ -1,3 +1,5 @@
import type { CommandInterface } from ".";
export interface Flag {
short: string;
long: string;
@@ -15,5 +17,5 @@ export interface Command {
desc: string;
flags?: Record<string,Flag>;
subcommands?: Record<string,SubCommand>;
execute: (flags: string[], args: string[], raw: string, extra?: any) => string[];
execute: (flags: string[], args: string[], raw: string, cmdIf: CommandInterface) => string[];
}