From e5183d728342b5f677fffb486fd2300d628908ba Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 23 Oct 2024 23:46:33 +0300 Subject: [PATCH] Extended getContext with SlashCommand classes --- public/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/script.js b/public/script.js index 3ae6f463e..1bb05e4cc 100644 --- a/public/script.js +++ b/public/script.js @@ -8218,6 +8218,10 @@ window['SillyTavern'].getContext = function () { substituteParams, substituteParamsExtended, SlashCommandParser, + SlashCommand, + SlashCommandArgument, + SlashCommandNamedArgument, + ARGUMENT_TYPE, executeSlashCommandsWithOptions, /** @deprecated Use SlashCommandParser.addCommandObject() instead */ registerSlashCommand: registerSlashCommand,