mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update ext.macro calls in built-in extensions
This commit is contained in:
@ -2323,7 +2323,7 @@ export function scrollChatToBottom() {
|
||||
* @param {Record<string,any>} additionalMacro - Additional environment variables for substitution.
|
||||
* @returns {string} The string with substituted parameters.
|
||||
*/
|
||||
export function substituteParamsExtended(content, additionalMacro) {
|
||||
export function substituteParamsExtended(content, additionalMacro = {}) {
|
||||
return substituteParams(content, undefined, undefined, undefined, undefined, true, additionalMacro);
|
||||
}
|
||||
|
||||
@ -7725,6 +7725,8 @@ window['SillyTavern'].getContext = function () {
|
||||
activateSendButtons,
|
||||
deactivateSendButtons,
|
||||
saveReply,
|
||||
substituteParams,
|
||||
substituteParamsExtended,
|
||||
registerSlashCommand: registerSlashCommand,
|
||||
executeSlashCommands: executeSlashCommands,
|
||||
timestampToMoment: timestampToMoment,
|
||||
|
Reference in New Issue
Block a user