Skip to content

Commit

Permalink
Create EmbedMessages.java
Browse files Browse the repository at this point in the history
  • Loading branch information
michel929 committed Feb 6, 2023
1 parent a697e03 commit bea710a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/main/java/templates/EmbedMessages.java
Original file line number Diff line number Diff line change
@@ -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();
}
}

0 comments on commit bea710a

Please sign in to comment.