Skip to content

Commit 29c8ee6

Browse files
committed
fix: do not delete application form once used
We want members to use the same application form when applying for roles instead of removing it once it gets used. The command to generate a form should be used once.
1 parent 5be1e15 commit 29c8ee6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/basic/ApplicationCreateCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ public void onStringSelectSelection(StringSelectInteractionEvent event, List<Str
173173
.addActionRow(ActionRow.of(body).getComponents())
174174
.build();
175175

176-
event.getHook().deleteOriginal().queue();
177176
event.replyModal(modal).queue();
178177
}
179178

0 commit comments

Comments
 (0)