Add guard to /times command arguments hint

This commit is contained in:
Cohee 2024-06-30 23:00:36 +03:00
parent ddc3848b26
commit 32a04422e7
1 changed files with 5 additions and 1 deletions

View File

@ -1358,7 +1358,11 @@ export function registerVariableCommands() {
name: 'times', name: 'times',
callback: timesCallback, callback: timesCallback,
returns: 'result of the last executed command', returns: 'result of the last executed command',
namedArgumentList: [], namedArgumentList: [
new SlashCommandNamedArgument(
'guard', 'disable loop iteration limit', [ARGUMENT_TYPE.STRING], false, false, null, commonEnumProviders.boolean('onOff')(),
),
],
unnamedArgumentList: [ unnamedArgumentList: [
new SlashCommandArgument( new SlashCommandArgument(
'repeats', 'repeats',