feat: replaceRandom slash command

This commit is contained in:
2026-04-16 13:34:10 -06:00
parent e9736efa05
commit cd186e5a5d
7 changed files with 230 additions and 167 deletions
+8
View File
@@ -16,6 +16,14 @@ Register [macros](https://docs.sillytavern.app/usage/core-concepts/macros/) that
Placeholders are strings that are replaced with a value at generation time.
## Slash Commands
Register [slash commands](https://docs.sillytavern.app/usage/core-concepts/slashcommands/) that are used for [scripting](https://docs.sillytavern.app/usage/st-script/).
### /replaceRandom (alias: /randomReplace)
Replace placeholders in the provided text with random values. This command processes all supported placeholder types in a single operation. Example: `/replaceRandom I have a %%RandomWord:PetSpecies%% myself`
## Services
### RandomWord