Commit Graph

7 Commits

Author SHA1 Message Date
Cohee 2baea084a1 Add lastCharMessage and lastUserMessage macros 2024-03-17 02:45:22 +02:00
Cohee d311780328 Fix performance in macro substitution 2024-03-16 01:38:23 +02:00
Cohee 5f1e290bda Disallow multiple {{original}} macro substitutions 2024-01-29 00:58:29 +02:00
valadaptive 71f47588cd Pass macro variables in to evaluateMacros
This doesn't cover *all* the variables yet, just the ones that were
previously passed in as arguments. I'll expand this later to separate
the macro parsing from the execution of the functions themselves.
2024-01-27 13:20:44 -05:00
Cohee 9bb404fb34 Add missing arg to JSdoc 2024-01-12 11:48:34 +02:00
Cohee a5edf2696f Fix relative imports 2024-01-12 11:47:00 +02:00
valadaptive 89a999cfd4 Move macro substitution to new module
substituteParams has become a thin wrapper around the new evaluateMacros
function, and will become more of a compatibility shim as refactorings
and rewrites are done.
2024-01-10 22:22:30 -05:00