diff --git a/pom.xml b/pom.xml index eb900c4..a35f51b 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ net.dv8tion JDA - 5.0.0-beta.24 + 5.0.0 diff --git a/src/main/java/net/turniptales/discord/events/ButtonInteractionListener.java b/src/main/java/net/turniptales/discord/events/ButtonInteractionListener.java index cbe3f0f..dda6863 100644 --- a/src/main/java/net/turniptales/discord/events/ButtonInteractionListener.java +++ b/src/main/java/net/turniptales/discord/events/ButtonInteractionListener.java @@ -72,7 +72,7 @@ public void onButtonInteraction(ButtonInteractionEvent e) { .build(); Modal ticketModal = create("ticket_modal", "Neues Ticket") - .addActionRows(ActionRow.of(minecraftNameTextInput), ActionRow.of(logInput)) + .addComponents(ActionRow.of(minecraftNameTextInput), ActionRow.of(logInput)) .build(); e.replyModal(ticketModal).queue();