mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
mark registerSlashCommand deprecated
This commit is contained in:
@@ -65,6 +65,9 @@ export {
|
||||
};
|
||||
|
||||
export const parser = new SlashCommandParser();
|
||||
/**
|
||||
* @deprecated Use SlashCommandParser.addCommandObject() instead
|
||||
*/
|
||||
const registerSlashCommand = parser.addCommand.bind(parser);
|
||||
const getSlashCommandsHelp = parser.getHelpString.bind(parser);
|
||||
|
||||
|
Reference in New Issue
Block a user