/delswipe returns current swipe id

7ffc69b83bd09b445a7ba9de8c8f02df9659b268

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +2 -1Ignore whitespace
public/scripts/slash-commands.js+2 -1
@@ -717,6 +717,7 @@ export function initDefaultSlashCommands() {
717717 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
718718 name: 'delswipe',
719719 callback: deleteSwipeCallback,
720+ returns: 'the new, currently selected swipe id',
720721 aliases: ['swipedel'],
721722 unnamedArgumentList: [
722723 SlashCommandArgument.fromProps({
@@ -2269,7 +2270,7 @@ async function deleteSwipeCallback(_, arg) {
22692270 await saveChatConditional();
22702271 await reloadCurrentChat();
22712272
22722273 return ''String(newSwipeId);
22732274}
22742275
22752276async function askCharacter(args, text) {