forked from Fascinated/Bat
fix message and fix category name
This commit is contained in:
parent
bd9f4ef971
commit
2349f10b35
@ -20,7 +20,7 @@ public enum Category {
|
|||||||
UTILITY(Emoji.fromFormatted("U+1F6E0"), "Utility", false),
|
UTILITY(Emoji.fromFormatted("U+1F6E0"), "Utility", false),
|
||||||
MUSIC(Emoji.fromFormatted("U+1F3B5"), "Music", false),
|
MUSIC(Emoji.fromFormatted("U+1F3B5"), "Music", false),
|
||||||
MOVIES_TV(Emoji.fromFormatted("U+1F3A5"), "Movies & TV", false),
|
MOVIES_TV(Emoji.fromFormatted("U+1F3A5"), "Movies & TV", false),
|
||||||
MESSAGES(Emoji.fromFormatted("U+1F4A3"), "Snipe", false),
|
MESSAGES(Emoji.fromFormatted("U+1F4A3"), "Messages", false),
|
||||||
LOGS(Emoji.fromFormatted("U+1F4D1"), "Logs", false),
|
LOGS(Emoji.fromFormatted("U+1F4D1"), "Logs", false),
|
||||||
BEAT_SABER(Emoji.fromFormatted("U+1FA84"), "Beat Saber", false),
|
BEAT_SABER(Emoji.fromFormatted("U+1FA84"), "Beat Saber", false),
|
||||||
BOT_ADMIN(null, null, true);
|
BOT_ADMIN(null, null, true);
|
||||||
|
@ -66,7 +66,8 @@ public class SetSubCommand extends BatSubCommand {
|
|||||||
}
|
}
|
||||||
if (time > ReminderFeature.MAX_REMINDER_LENGTH) {
|
if (time > ReminderFeature.MAX_REMINDER_LENGTH) {
|
||||||
event.replyEmbeds(EmbedUtils.errorEmbed()
|
event.replyEmbeds(EmbedUtils.errorEmbed()
|
||||||
.setDescription("The time must be at most %s.".formatted(TimeUtils.format(ReminderFeature.MAX_REMINDER_LENGTH)))
|
.setDescription("The time must be at most %s.".formatted(TimeUtils.format(ReminderFeature.MAX_REMINDER_LENGTH,
|
||||||
|
TimeUtils.BatTimeFormat.FIT, true)))
|
||||||
.build()).queue();
|
.build()).queue();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user