Skip to content

Commit

Permalink
Queue the approval modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Aug 24, 2024
1 parent ec2ddfb commit 16610b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ private void onButton(ButtonInteractionEvent event) {
.queue();
case "approve" -> event.replyModal(Modal.create("ban-appeals/approve/" + userId, "Approve appeal")
.addActionRow(TextInput.create("message", "Message", TextInputStyle.PARAGRAPH).setPlaceholder("Optional message sent to the appellee accompanying their invite to join the server").setRequired(false).build())
.build());
.build())
.queue();
}
}

Expand Down

0 comments on commit 16610b6

Please sign in to comment.