Merge branch 'staging' into parser-followup-2

This commit is contained in:
LenAnderson
2024-07-22 12:44:07 -04:00
11 changed files with 106 additions and 48 deletions

View File

@ -98,6 +98,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)',
@ -113,7 +114,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',