diff --git a/public/scripts/variables.js b/public/scripts/variables.js index d99f29c8a..f1c37ef75 100644 --- a/public/scripts/variables.js +++ b/public/scripts/variables.js @@ -1874,21 +1874,31 @@ export function registerVariableCommands() { unnamedArgumentList: [ SlashCommandArgument.fromProps({ description: 'value', - typeList: [ARGUMENT_TYPE.NUMBER, ARGUMENT_TYPE.VARIABLE_NAME], + typeList: [ARGUMENT_TYPE.STRING, ARGUMENT_TYPE.NUMBER, ARGUMENT_TYPE.LIST, ARGUMENT_TYPE.DICTIONARY], isRequired: true, - enumProvider: commonEnumProviders.variables('all'), forceEnum: false, }), ], helpString: `
- Gets the length of a value and passes the result down the pipe. Can use variable names. + Gets the length of a value and passes the result down the pipe. +
Example: