diff --git a/public/scripts/variables.js b/public/scripts/variables.js index 4c6c87142..e0ccfbdc6 100644 --- a/public/scripts/variables.js +++ b/public/scripts/variables.js @@ -909,7 +909,7 @@ export function registerVariableCommands() { 'index', 'list index', [ARGUMENT_TYPE.NUMBER, ARGUMENT_TYPE.STRING], false, ), SlashCommandNamedArgument.fromProps({ - name: 'cast', + name: 'as', description: 'change the type of the value when used with index', forceEnum: true, enumProvider: commonEnumProviders.types, @@ -925,7 +925,7 @@ export function registerVariableCommands() { helpString: `
index
argument is optional.
- To convert the value to a specific JSON type when using index
, use the case
argument.
+ To convert the value to a specific JSON type when using index
, use the as
argument.
index
argument is optional.
- To convert the value to a specific JSON type when using index
, use the cast
argument.
+ To convert the value to a specific JSON type when using index
, use the as
argument.
index
to access elements of a list or dictionary.
- To convert the value to a specific JSON type when using with index
, use the cast
argument.
+ To convert the value to a specific JSON type when using with index
, use the as
argument.