From 20cafe2d0db2fd3f98cfca92f248416f02cbd6de Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 7 Jul 2024 20:32:04 +0000
Subject: [PATCH 1/2] Update dependency net.dv8tion:JDA to v5.0.0
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
From 848636b42bf31e8a0a9a910872ef4e36ac5caed1 Mon Sep 17 00:00:00 2001
From: RettichLP
Date: Sun, 14 Jul 2024 23:20:27 +0200
Subject: [PATCH 2/2] Remove deprecated method call
---
.../turniptales/discord/events/ButtonInteractionListener.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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();