--- trunk/.vscode/sudobot.code-snippets 2024/08/06 10:55:46 597 +++ trunk/.vscode/sudobot.code-snippets 2024/08/07 14:50:43 598 @@ -3,7 +3,7 @@ "scope": "typescript", "prefix": "command", "body": [ - "import { TakesArgument } from \"@framework/arguments/ArgumentTypes\";", + "import { ArgumentSchema } from \"@framework/arguments/ArgumentTypes\";", "import type { Buildable } from \"@framework/commands/Command\";", "import { Command } from \"@framework/commands/Command\";", "import type Context from \"@framework/commands/Context\";", @@ -12,7 +12,7 @@ "\targ: string;", "};", "", - "@TakesArgument<${1:${TM_FILENAME_BASE/(.*?)\\..*/$1/}}Args>({", + "@ArgumentSchema.Definition({", "\tnames: [],", "\ttypes: [],", "\toptional: false,",