fix embed colors
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 51s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 51s
This commit is contained in:
parent
055c8709f8
commit
444089df02
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user