dirty more detailed cmd defs

This commit is contained in:
LenAnderson
2024-04-23 09:03:28 -04:00
parent db5d2f13f9
commit d4b8094038
7 changed files with 952 additions and 108 deletions

View File

@ -1,10 +1,17 @@
import { SlashCommandArgument, SlashCommandNamedArgument } from './SlashCommandArgument.js';
export class SlashCommand {
/**@type {String}*/ name;
/**@type {string}*/ name;
/**@type {Function}*/ callback;
/**@type {String}*/ helpString;
/**@type {Boolean}*/ interruptsGeneration;
/**@type {Boolean}*/ purgeFromMessage;
/**@type {String[]}*/ aliases;
/**@type {string}*/ helpString;
/**@type {boolean}*/ interruptsGeneration = true;
/**@type {boolean}*/ purgeFromMessage = true;
/**@type {string[]}*/ aliases = [];
/**@type {string}*/ returns;
/**@type {SlashCommandNamedArgument[]}*/ namedArgumentList = [];
/**@type {SlashCommandArgument[]}*/ unnamedArgumentList = [];
get helpStringFormatted() {
let aliases = '';