From a712e9212588623d028fd7c6013de3c5026d8448 Mon Sep 17 00:00:00 2001 From: Succubyss <87207237+Succubyss@users.noreply.github.com> Date: Sun, 21 Jul 2024 16:19:47 -0500 Subject: [PATCH] moves persona's alias line upward --- public/scripts/slash-commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 71d8c894a..1435f13a4 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -95,6 +95,7 @@ export function initDefaultSlashCommands() { SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'persona', callback: setNameCallback, + aliases: ['name'], namedArgumentList: [ new SlashCommandNamedArgument( 'mode', 'The mode for persona selection. ("lookup" = search for existing persona, "temp" = create a temporary name, set a temporary name, "all" = allow both in the same command)', @@ -110,7 +111,6 @@ export function initDefaultSlashCommands() { }), ], helpString: 'Selects the given persona with its name and avatar (by name or avatar url). If no matching persona exists, applies a temporary name.', - aliases: ['name'], })); SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'sync',