Skip to content

Commit 598a95c

Browse files
committed
Update detach and attach command descriptions
1 parent 7c2b156 commit 598a95c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class AttachFormSubcommand extends FormSubcommand implements AutoCompleta
5252
public AttachFormSubcommand(FormsRepository formsRepo, BotConfig botConfig) {
5353
super(botConfig, formsRepo);
5454
this.formsRepo = formsRepo;
55-
setCommandData(new SubcommandData("attach", "Attach a form to a message").addOptions(
55+
setCommandData(new SubcommandData("attach", "Add a button for bringing up the form to a message").addOptions(
5656
new OptionData(OptionType.INTEGER, FORM_ID_FIELD, "ID of the form to attach", true, true),
5757
new OptionData(OptionType.STRING, "message-id", "ID of the message to attach the form to", true),
5858
new OptionData(OptionType.CHANNEL, "channel",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public class DetachFormSubcommand extends FormSubcommand implements AutoCompleta
4444
public DetachFormSubcommand(FormsRepository formsRepo, BotConfig botConfig) {
4545
super(botConfig, formsRepo);
4646
this.formsRepo = formsRepo;
47-
setCommandData(new SubcommandData("detach", "Detach a form from a message")
47+
setCommandData(new SubcommandData("detach",
48+
"Remove any buttons that could be used to bring the form's input modal")
4849
.addOptions(new OptionData(OptionType.INTEGER, FORM_ID_FIELD, "ID of the form to attach", true, true)));
4950
}
5051

0 commit comments

Comments
 (0)