diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 65e4b0bdf..8e7ce0326 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -399,7 +399,7 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ description: 'character name', typeList: [ARGUMENT_TYPE.STRING], isRequired: true, - enumProvider: commonEnumProviders.characters('all'), + enumProvider: commonEnumProviders.characters('character'), }), ], unnamedArgumentList: [ @@ -418,7 +418,7 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ description: 'name', typeList: [ARGUMENT_TYPE.STRING], isRequired: true, - enumProvider: commonEnumProviders.characters('all'), + enumProvider: commonEnumProviders.characters('character'), }), ], aliases: ['cancel'], @@ -508,6 +508,14 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ 'false', ), ], + unnamedArgumentList: [ + SlashCommandArgument.fromProps({ + description: 'group member index (starts with 0) or name', + typeList: [ARGUMENT_TYPE.NUMBER, ARGUMENT_TYPE.STRING], + isRequired: false, + enumProvider: commonEnumProviders.groupMembers(), + }), + ], helpString: `