diff --git a/src/main/java/cc/fascinated/bat/features/base/commands/general/VoteCommand.java b/src/main/java/cc/fascinated/bat/features/base/commands/general/VoteCommand.java index c0acbed..8a4731e 100644 --- a/src/main/java/cc/fascinated/bat/features/base/commands/general/VoteCommand.java +++ b/src/main/java/cc/fascinated/bat/features/base/commands/general/VoteCommand.java @@ -2,6 +2,7 @@ package cc.fascinated.bat.features.base.commands.general; import cc.fascinated.bat.command.BatCommand; import cc.fascinated.bat.command.CommandInfo; +import cc.fascinated.bat.common.EmbedDescriptionBuilder; import cc.fascinated.bat.common.EmbedUtils; import cc.fascinated.bat.model.BatGuild; import cc.fascinated.bat.model.BatUser; @@ -24,13 +25,13 @@ public class VoteCommand extends BatCommand { @Override public void execute(BatGuild guild, @NonNull BatUser user, @NonNull MessageChannel channel, Member member, @NonNull SlashCommandInteraction event) { - StringBuilder builder = new StringBuilder(); - builder.append("You can vote for the bot by clicking the following links:\n\n"); + EmbedDescriptionBuilder description = new EmbedDescriptionBuilder("Vote Links"); + description.appendLine("Vote for the bot on the following websites to support us!", true); for (String link : VOTE_LINKS) { - builder.append("%s\n".formatted(link)); + description.appendLine(link, true); } event.replyEmbeds(EmbedUtils.genericEmbed() - .setDescription(builder.toString()) + .setDescription(description.build()) .build() ).queue(); }