fix max reminder length
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s

This commit is contained in:
Lee 2024-07-03 00:32:14 +01:00
parent 821190a144
commit 162d7af46b

View File

@ -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;