mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
@ -316,7 +316,14 @@ export class SlashCommandHandler {
|
|||||||
enumProvider: localEnumProviders.qrEntries,
|
enumProvider: localEnumProviders.qrEntries,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
helpString: 'Deletes a Quick Reply from the specified set. If no label is provided, the entire set is deleted.',
|
unnamedArgumentList: [
|
||||||
|
SlashCommandArgument.fromProps({
|
||||||
|
description: 'label',
|
||||||
|
typeList: [ARGUMENT_TYPE.STRING],
|
||||||
|
enumProvider: localEnumProviders.qrEntries,
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
helpString: 'Deletes a Quick Reply from the specified set. (Label must be provided via named or unnamed argument)',
|
||||||
}));
|
}));
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-contextadd',
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'qr-contextadd',
|
||||||
callback: (args, name) => {
|
callback: (args, name) => {
|
||||||
|
Reference in New Issue
Block a user