Feat - Export SlashCommandEnumValue for extensions through getContext (#5191)

This commit is contained in:
Leandro Jofré
2026-02-19 18:11:30 -03:00
committed by GitHub
parent 8aaaab37b7
commit 162d45a241
+2
View File
@@ -90,6 +90,7 @@ import { ScraperManager } from './scrapers.js';
import { executeSlashCommands, executeSlashCommandsWithOptions, registerSlashCommand } from './slash-commands.js';
import { SlashCommand } from './slash-commands/SlashCommand.js';
import { ARGUMENT_TYPE, SlashCommandArgument, SlashCommandNamedArgument } from './slash-commands/SlashCommandArgument.js';
import { SlashCommandEnumValue } from './slash-commands/SlashCommandEnumValue.js';
import { SlashCommandParser } from './slash-commands/SlashCommandParser.js';
import { tag_map, tags, importTags } from './tags.js';
import { getTextGenServer, textgenerationwebui_settings } from './textgen-settings.js';
@@ -159,6 +160,7 @@ export function getContext() {
SlashCommand,
SlashCommandArgument,
SlashCommandNamedArgument,
SlashCommandEnumValue,
ARGUMENT_TYPE,
executeSlashCommandsWithOptions,
/** @deprecated Use SlashCommandParser.addCommandObject() instead */