fix embed colors

This commit is contained in:
Lee 2024-06-25 16:47:45 +01:00
parent 055c8709f8
commit 444089df02
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;