[PR #2] Fix: Greeting macros #3

Open
opened 2026-10-15 18:03:04 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/SillyTavern-GreetingTools/pull/2
Author: @Vagrancy5109
Created: 5/19/2026
Status: 🔄 Open

Base: main ← Head: FixGreetingMacros


📝 Commits (5)

  • 46cef85 Macro insertion fixes
  • 4084279 Updated substituteParams to reflect SillyTavern
  • f5b1008 Fixed {{if}} macro handling for existing titles
  • be5e296 Added preprocessor for if blocks
  • 6e576a8 Attempt to fix temporary greetings

📊 Changes

2 files changed (+47 additions, -5 deletions)

View changed files

📝 src/generator.js (+37 -5)
📝 src/popup.js (+10 -0)

📄 Description

The {{customPrompt}} and {{existingTitles}} Macros were broken and didn't work anymore. This fixes it. It also now works with ST v1.18 vanilla (not tested for minimum version, but should work with down to v1.15 too, since the macro engine was introduced then.) Also checks for temporary greetings, and includes them in the greeting titles section.

I'm not sure how to change the release tag in the readme file as this is my first time doing a PR for a SillyTavern extension, if someone could test it and take a look.

@Wolfsblvt


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/SillyTavern-GreetingTools/pull/2 **Author:** [@Vagrancy5109](https://github.com/Vagrancy5109) **Created:** 5/19/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `FixGreetingMacros` --- ### 📝 Commits (5) - [`46cef85`](https://github.com/SillyTavern/SillyTavern-GreetingTools/commit/46cef8504435270ed751505949acddd42023f429) Macro insertion fixes - [`4084279`](https://github.com/SillyTavern/SillyTavern-GreetingTools/commit/40842791e1bb6ae0afb7527f5950bc978ee8b552) Updated substituteParams to reflect SillyTavern - [`f5b1008`](https://github.com/SillyTavern/SillyTavern-GreetingTools/commit/f5b10081d2300f6d286df4bfbddad247aa63b5ef) Fixed {{if}} macro handling for existing titles - [`be5e296`](https://github.com/SillyTavern/SillyTavern-GreetingTools/commit/be5e2966cfe6c05e4b3123bdada051901a8f33cf) Added preprocessor for if blocks - [`6e576a8`](https://github.com/SillyTavern/SillyTavern-GreetingTools/commit/6e576a86e2a6dd1f5c4bca756cdb60ca1394f330) Attempt to fix temporary greetings ### 📊 Changes **2 files changed** (+47 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/generator.js` (+37 -5) 📝 `src/popup.js` (+10 -0) </details> ### 📄 Description The {{customPrompt}} and {{existingTitles}} Macros were broken and didn't work anymore. This fixes it. It also now works with ST v1.18 vanilla (not tested for minimum version, but should work with down to v1.15 too, since the macro engine was introduced then.) Also checks for temporary greetings, and includes them in the greeting titles section. I'm not sure how to change the release tag in the readme file as this is my first time doing a PR for a SillyTavern extension, if someone could test it and take a look. @Wolfsblvt --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-GreetingTools#3
No description provided.