From 39926d8767b4986956384bb30a1cc22239dd8349 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 4 Apr 2022 22:59:30 +0200 Subject: [PATCH] :art: Yeet --- .../bot/util/DiscordTicketMessage.java | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/bot/util/DiscordTicketMessage.java b/src/de/steamwar/bungeecore/bot/util/DiscordTicketMessage.java index ea6cea39..21ebded9 100644 --- a/src/de/steamwar/bungeecore/bot/util/DiscordTicketMessage.java +++ b/src/de/steamwar/bungeecore/bot/util/DiscordTicketMessage.java @@ -20,6 +20,7 @@ package de.steamwar.bungeecore.bot.util; import de.steamwar.bungeecore.bot.SteamwarDiscordBot; +import de.steamwar.bungeecore.bot.config.DiscordTicketType; import de.steamwar.bungeecore.bot.config.SteamwarDiscordBotConfig; import lombok.experimental.UtilityClass; import net.dv8tion.jda.api.EmbedBuilder; @@ -32,6 +33,7 @@ import net.dv8tion.jda.api.interactions.components.Button; import java.awt.*; import java.util.ArrayList; import java.util.List; +import java.util.stream.Collectors; @UtilityClass public class DiscordTicketMessage { @@ -49,16 +51,26 @@ public class DiscordTicketMessage { builder.setTitle("Steamwar-Tickets"); builder.setColor(Color.RED); - List