mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
/del is fine too
This commit is contained in:
@ -3928,9 +3928,9 @@ $(document).ready(() => {
|
|||||||
helpString: 'Start a new chat with a random character. If an argument is provided, only considers characters that have the specified tag.',
|
helpString: 'Start a new chat with a random character. If an argument is provided, only considers characters that have the specified tag.',
|
||||||
}));
|
}));
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
||||||
name: 'delete',
|
name: 'del',
|
||||||
callback: doDelMode,
|
callback: doDelMode,
|
||||||
aliases: ['del', 'delmode'],
|
aliases: ['delete', 'delmode'],
|
||||||
unnamedArgumentList: [
|
unnamedArgumentList: [
|
||||||
new SlashCommandArgument(
|
new SlashCommandArgument(
|
||||||
'optional number', [ARGUMENT_TYPE.NUMBER], false,
|
'optional number', [ARGUMENT_TYPE.NUMBER], false,
|
||||||
|
Reference in New Issue
Block a user