mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-10 00:50:43 +01:00
Remove resolveVariable calls
This commit is contained in:
parent
3b03561d27
commit
80496db482
@ -1012,8 +1012,8 @@ function registerWorldInfoSlashCommands() {
|
|||||||
throw new Error('This command can only be used in chat');
|
throw new Error('This command can only be used in chat');
|
||||||
}
|
}
|
||||||
|
|
||||||
const file = resolveVariable(args.file);
|
const file = args.file;
|
||||||
const uid = resolveVariable(value);
|
const uid = value;
|
||||||
const effect = args.effect;
|
const effect = args.effect;
|
||||||
|
|
||||||
const entries = await getEntriesFromFile(file);
|
const entries = await getEntriesFromFile(file);
|
||||||
@ -1050,8 +1050,8 @@ function registerWorldInfoSlashCommands() {
|
|||||||
throw new Error('This command can only be used in chat');
|
throw new Error('This command can only be used in chat');
|
||||||
}
|
}
|
||||||
|
|
||||||
const file = resolveVariable(args.file);
|
const file = args.file;
|
||||||
const uid = resolveVariable(args.uid);
|
const uid = args.uid;
|
||||||
const effect = args.effect;
|
const effect = args.effect;
|
||||||
|
|
||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user