Hotfix DiscordBot

This commit is contained in:
2024-08-30 08:41:37 +02:00
parent 6560562b05
commit 2142ed2f97
@@ -151,7 +151,9 @@ public class DiscordBot {
list.clear();
}
}
System.out.println(actionRows);
if (!list.isEmpty()) {
actionRows.add(ActionRow.of(list.toArray(Button[]::new)));
}
new StaticMessageChannel(config.channel("ticket"), () -> new MessageCreateBuilder()
.setEmbeds(new EmbedBuilder()
.setDescription("Hier kannst du Tickets öffnen, welche nur von dir und Teammitgliedern eingesehen werden können.")