mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-05-18 20:34:50 +02:00
let /qr-arg overwrite wildcard macros
This commit is contained in:
parent
cf42c4044e
commit
b5d90a4259
@ -637,7 +637,7 @@ export class SlashCommandHandler {
|
|||||||
|
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-arg',
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-arg',
|
||||||
callback: ({ _scope }, [key, value]) => {
|
callback: ({ _scope }, [key, value]) => {
|
||||||
_scope.setMacro(`arg::${key}`, value, false);
|
_scope.setMacro(`arg::${key}`, value, key.includes('*'));
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
unnamedArgumentList: [
|
unnamedArgumentList: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user