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