Prefix CFG and loading vars to prevent collisions

This commit is contained in:
DominikDoom
2023-05-08 18:47:05 +02:00
parent 5d5db7bafe
commit 7fabc84a1e
8 changed files with 51 additions and 51 deletions

View File

@@ -1,5 +1,5 @@
const EMB_REGEX = /<(?!l:|h:)[^,> ]*>?/g;
const EMB_TRIGGER = () => CFG.useEmbeddings && tagword.match(EMB_REGEX);
const EMB_TRIGGER = () => TAC_CFG.useEmbeddings && tagword.match(EMB_REGEX);
class EmbeddingParser extends BaseTagParser {
parse() {