From 162d7af46b6b916309b539a5dbf5aaef358c6891 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jul 2024 00:32:14 +0100 Subject: [PATCH] fix max reminder length --- .../cc/fascinated/bat/features/reminder/ReminderFeature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/features/reminder/ReminderFeature.java b/src/main/java/cc/fascinated/bat/features/reminder/ReminderFeature.java index 78ff5d6..aaa0467 100644 --- a/src/main/java/cc/fascinated/bat/features/reminder/ReminderFeature.java +++ b/src/main/java/cc/fascinated/bat/features/reminder/ReminderFeature.java @@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit; @DependsOn("discordService") public class ReminderFeature extends Feature { public static final int MAX_REMINDERS = 5; // 5 reminders - public static final long MAX_REMINDER_LENGTH = TimeUnit.DAYS.toMicros(7); // 7 days + public static final long MAX_REMINDER_LENGTH = TimeUnit.DAYS.toMillis(7); // 7 days private final GuildService guildService;