From 16610b68820ea33bfc885cf8569c4069f1a321ae Mon Sep 17 00:00:00 2001 From: Matyrobbrt Date: Sat, 24 Aug 2024 15:58:58 +0300 Subject: [PATCH] Queue the approval modal --- .../java/net/neoforged/camelot/module/BanAppealModule.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/neoforged/camelot/module/BanAppealModule.java b/src/main/java/net/neoforged/camelot/module/BanAppealModule.java index e804977..54ff840 100644 --- a/src/main/java/net/neoforged/camelot/module/BanAppealModule.java +++ b/src/main/java/net/neoforged/camelot/module/BanAppealModule.java @@ -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(); } }