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…
Reference in New Issue