From 2349f10b355e59c7159c9691a5312cec5c1bbadb Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 01:17:21 +0100 Subject: [PATCH] fix message and fix category name --- src/main/java/cc/fascinated/bat/command/Category.java | 2 +- .../bat/features/reminder/command/SetSubCommand.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/command/Category.java b/src/main/java/cc/fascinated/bat/command/Category.java index a159d9e..1606400 100644 --- a/src/main/java/cc/fascinated/bat/command/Category.java +++ b/src/main/java/cc/fascinated/bat/command/Category.java @@ -20,7 +20,7 @@ public enum Category { UTILITY(Emoji.fromFormatted("U+1F6E0"), "Utility", false), MUSIC(Emoji.fromFormatted("U+1F3B5"), "Music", 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), BEAT_SABER(Emoji.fromFormatted("U+1FA84"), "Beat Saber", false), BOT_ADMIN(null, null, true); diff --git a/src/main/java/cc/fascinated/bat/features/reminder/command/SetSubCommand.java b/src/main/java/cc/fascinated/bat/features/reminder/command/SetSubCommand.java index 86148db..8f7fabe 100644 --- a/src/main/java/cc/fascinated/bat/features/reminder/command/SetSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/reminder/command/SetSubCommand.java @@ -66,7 +66,8 @@ public class SetSubCommand extends BatSubCommand { } if (time > ReminderFeature.MAX_REMINDER_LENGTH) { 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(); return; }