From 444089df0277bcc653e951aaeddd97f33e459de2 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 25 Jun 2024 16:47:45 +0100 Subject: [PATCH] fix embed colors --- .../scoresaber/command/numberone/ChannelSubCommand.java | 2 +- .../scoresaber/command/userfeed/ChannelSubCommand.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/scoresaber/command/numberone/ChannelSubCommand.java b/src/main/java/cc/fascinated/bat/features/scoresaber/command/numberone/ChannelSubCommand.java index 2dca61c..558141e 100644 --- a/src/main/java/cc/fascinated/bat/features/scoresaber/command/numberone/ChannelSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/scoresaber/command/numberone/ChannelSubCommand.java @@ -40,7 +40,7 @@ public class ChannelSubCommand extends BatSubCommand { .build()).queue(); return; } - interaction.replyEmbeds(EmbedUtils.errorEmbed() + interaction.replyEmbeds(EmbedUtils.genericEmbed() .setDescription("The current feed channel is %s".formatted(TextChannelUtils.getChannelMention(profile.getChannelId()))) .build()).queue(); return; diff --git a/src/main/java/cc/fascinated/bat/features/scoresaber/command/userfeed/ChannelSubCommand.java b/src/main/java/cc/fascinated/bat/features/scoresaber/command/userfeed/ChannelSubCommand.java index e6c862e..e930021 100644 --- a/src/main/java/cc/fascinated/bat/features/scoresaber/command/userfeed/ChannelSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/scoresaber/command/userfeed/ChannelSubCommand.java @@ -35,7 +35,7 @@ public class ChannelSubCommand extends BatSubCommand { OptionMapping option = interaction.getOption("channel"); if (option == null) { if (!TextChannelUtils.isValidChannel(profile.getChannelId())) { - interaction.replyEmbeds(EmbedUtils.successEmbed() + interaction.replyEmbeds(EmbedUtils.errorEmbed() .setDescription("Please provide a channel to set the ScoreSaber feed channel to") .build()).queue(); return; @@ -48,7 +48,7 @@ public class ChannelSubCommand extends BatSubCommand { GuildChannelUnion targetChannel = option.getAsChannel(); if (targetChannel.getType() != ChannelType.TEXT) { - interaction.replyEmbeds(EmbedUtils.successEmbed() + interaction.replyEmbeds(EmbedUtils.errorEmbed() .setDescription("Invalid channel type, please provide a text channel") .build()).queue(); return;