From bea710a4c5a836158b84293e409f1d257d59f16c Mon Sep 17 00:00:00 2001 From: michel929 Date: Mon, 6 Feb 2023 13:51:20 +0100 Subject: [PATCH] Create EmbedMessages.java --- src/main/java/templates/EmbedMessages.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/main/java/templates/EmbedMessages.java diff --git a/src/main/java/templates/EmbedMessages.java b/src/main/java/templates/EmbedMessages.java new file mode 100644 index 0000000..b430352 --- /dev/null +++ b/src/main/java/templates/EmbedMessages.java @@ -0,0 +1,20 @@ +package templates; + +import mysql.BotInfos; +import net.dv8tion.jda.api.EmbedBuilder; +import net.dv8tion.jda.api.entities.MessageEmbed; + +import java.awt.*; + +public class EmbedMessages { + + public static MessageEmbed userHasNoAccount(){ + EmbedBuilder builder = new EmbedBuilder(); + builder.setColor(Color.red); + builder.setDescription("Du brauchst einen TeamSensivity Account um diese Aktion auszuführen. Benutze entweder die Website oder den /connect Command."); + builder.setThumbnail(BotInfos.getBotInfos("logo_url")); + builder.setTitle("Keinen Team Sensivity Account"); + + return builder.build(); + } +}