Update /qr-delete help string and add missing arg - Fixes #2527

e6995e40ccbb24ef006ef03a8123fac8f08cc573

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +8 -1Ignore whitespace
public/scripts/extensions/quick-reply/src/SlashCommandHandler.js+8 -1
@@ -316,7 +316,14 @@ export class SlashCommandHandler {
316 enumProvider: localEnumProviders.qrEntries,316 enumProvider: localEnumProviders.qrEntries,
317 }),317 }),
318 ],318 ],
319 helpString: 'Deletes a Quick Reply from the specified set. If no label is provided, the entire set is deleted.',319 unnamedArgumentList: [
320 SlashCommandArgument.fromProps({
321 description: 'label',
322 typeList: [ARGUMENT_TYPE.STRING],
323 enumProvider: localEnumProviders.qrEntries,
324 }),
325 ],
326 helpString: 'Deletes a Quick Reply from the specified set. (Label must be provided via named or unnamed argument)',
320 }));327 }));
321 SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-contextadd',328 SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-contextadd',
322 callback: (args, name) => {329 callback: (args, name) => {