Skip to content

Commit 135108f

Browse files
committed
Include info that field indexes are 0-indexed in form field remove
command
1 parent 3b24656 commit 135108f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/RemoveFieldFormSubcommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public RemoveFieldFormSubcommand(FormsRepository formsRepo, BotConfig botConfig)
3838
this.formsRepo = formsRepo;
3939
setCommandData(new SubcommandData("remove-field", "Removse a field from an existing form")
4040
.addOption(OptionType.INTEGER, FORM_ID_FIELD, "Form ID to add the field to", true, true)
41-
.addOption(OptionType.INTEGER, "field", "# of the field to remove", true, true));
41+
.addOption(OptionType.INTEGER, "field", "0-indexed # of the field to remove", true, true));
4242
}
4343

4444
@Override

0 commit comments

Comments
 (0)