mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
basics for new parser
This commit is contained in:
9
public/scripts/slash-commands/SlashCommand.js
Normal file
9
public/scripts/slash-commands/SlashCommand.js
Normal file
@ -0,0 +1,9 @@
|
||||
export class SlashCommand {
|
||||
/**@type {String}*/ name;
|
||||
/**@type {Function}*/ callback;
|
||||
/**@type {String}*/ helpString;
|
||||
/**@type {String}*/ helpStringFormatted;
|
||||
/**@type {Boolean}*/ interruptsGeneration;
|
||||
/**@type {Boolean}*/ purgeFromMessage;
|
||||
/**@type {String[]}*/ aliases;
|
||||
}
|
Reference in New Issue
Block a user