mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-21 22:47:41 +01:00
/del is fine too
This commit is contained in:
parent
fda64ffb1f
commit
364078ce27
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user