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();
|
.build()).queue();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
interaction.replyEmbeds(EmbedUtils.errorEmbed()
|
interaction.replyEmbeds(EmbedUtils.genericEmbed()
|
||||||
.setDescription("The current feed channel is %s".formatted(TextChannelUtils.getChannelMention(profile.getChannelId())))
|
.setDescription("The current feed channel is %s".formatted(TextChannelUtils.getChannelMention(profile.getChannelId())))
|
||||||
.build()).queue();
|
.build()).queue();
|
||||||
return;
|
return;
|
||||||
|
@ -35,7 +35,7 @@ public class ChannelSubCommand extends BatSubCommand {
|
|||||||
OptionMapping option = interaction.getOption("channel");
|
OptionMapping option = interaction.getOption("channel");
|
||||||
if (option == null) {
|
if (option == null) {
|
||||||
if (!TextChannelUtils.isValidChannel(profile.getChannelId())) {
|
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")
|
.setDescription("Please provide a channel to set the ScoreSaber feed channel to")
|
||||||
.build()).queue();
|
.build()).queue();
|
||||||
return;
|
return;
|
||||||
@ -48,7 +48,7 @@ public class ChannelSubCommand extends BatSubCommand {
|
|||||||
|
|
||||||
GuildChannelUnion targetChannel = option.getAsChannel();
|
GuildChannelUnion targetChannel = option.getAsChannel();
|
||||||
if (targetChannel.getType() != ChannelType.TEXT) {
|
if (targetChannel.getType() != ChannelType.TEXT) {
|
||||||
interaction.replyEmbeds(EmbedUtils.successEmbed()
|
interaction.replyEmbeds(EmbedUtils.errorEmbed()
|
||||||
.setDescription("Invalid channel type, please provide a text channel")
|
.setDescription("Invalid channel type, please provide a text channel")
|
||||||
.build()).queue();
|
.build()).queue();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user