Skip to content

Commit 1e2e788

Browse files
committed
Update form export subcommand javadoc
1 parent af0c407 commit 1e2e788

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
import java.util.Map;
55
import java.util.Map.Entry;
66
import java.util.Optional;
7-
87
import com.google.gson.Gson;
98
import com.google.gson.GsonBuilder;
109
import com.google.gson.JsonArray;
1110
import com.google.gson.JsonObject;
12-
1311
import net.discordjug.javabot.data.config.BotConfig;
1412
import net.discordjug.javabot.systems.staff_commands.forms.dao.FormsRepository;
1513
import net.discordjug.javabot.systems.staff_commands.forms.model.FormData;
@@ -25,8 +23,8 @@
2523
import xyz.dynxsty.dih4jda.interactions.AutoCompletable;
2624

2725
/**
28-
* The `/form submissions-export` command. Export all submissions tied to the
29-
* specified form from the database in JSON format.
26+
* The `/form submissions-export` command. Export a list of users who have
27+
* submitted the specified form from the database in JSON format.
3028
*
3129
* @see FormData
3230
*/
@@ -44,8 +42,9 @@ public class SubmissionsExportFormSubcommand extends FormSubcommand implements A
4442
public SubmissionsExportFormSubcommand(FormsRepository formsRepo, BotConfig botConfig) {
4543
super(botConfig, formsRepo);
4644
this.formsRepo = formsRepo;
47-
setCommandData(new SubcommandData("submissions-export", "Export all of the form's submissions").addOptions(
48-
new OptionData(OptionType.INTEGER, FORM_ID_FIELD, "The ID of a form to get submissions for", true, true)));
45+
setCommandData(new SubcommandData("submissions-export", "Export all of the form's submissions")
46+
.addOptions(new OptionData(OptionType.INTEGER, FORM_ID_FIELD, "The ID of a form to get submissions for",
47+
true, true)));
4948
}
5049

5150
@Override

0 commit comments

Comments
 (0)