use /run to call closures and no arguments on immediate closures

This commit is contained in:
LenAnderson
2024-04-02 12:47:11 -04:00
parent 52b616647c
commit 3b545a7ab1
3 changed files with 26 additions and 55 deletions

View File

@ -11,7 +11,7 @@ export class SlashCommandClosure {
/**@type {Map<string,string|SlashCommandClosure>}*/ arguments = {};
// @ts-ignore
/**@type {Map<string,string|SlashCommandClosure>}*/ providedArguments = {};
/**@type {(SlashCommandExecutor|SlashCommandClosureExecutor)[]}*/ executorList = [];
/**@type {SlashCommandExecutor[]}*/ executorList = [];
/**@type {String}*/ keptText;
constructor(parent) {