we have _scope to get the pipe
This commit is contained in:
parent
8a55d64158
commit
8b64dbc3ee
|
@ -53,7 +53,7 @@ export class SlashCommand {
|
||||||
|
|
||||||
|
|
||||||
/**@type {string}*/ name;
|
/**@type {string}*/ name;
|
||||||
/**@type {(namedArguments:{_pipe:string|SlashCommandClosure, _scope:SlashCommandScope, _abortController:SlashCommandAbortController, [id:string]:string|SlashCommandClosure}, unnamedArguments:string|SlashCommandClosure|(string|SlashCommandClosure)[])=>string|SlashCommandClosure|Promise<string|SlashCommandClosure>}*/ callback;
|
/**@type {(namedArguments:{_scope:SlashCommandScope, _abortController:SlashCommandAbortController, [id:string]:string|SlashCommandClosure}, unnamedArguments:string|SlashCommandClosure|(string|SlashCommandClosure)[])=>string|SlashCommandClosure|Promise<string|SlashCommandClosure>}*/ callback;
|
||||||
/**@type {string}*/ helpString;
|
/**@type {string}*/ helpString;
|
||||||
/**@type {boolean}*/ splitUnnamedArgument = false;
|
/**@type {boolean}*/ splitUnnamedArgument = false;
|
||||||
/**@type {Number}*/ splitUnnamedArgumentCount;
|
/**@type {Number}*/ splitUnnamedArgumentCount;
|
||||||
|
|
Loading…
Reference in New Issue