fix max reminder length
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 40s
This commit is contained in:
parent
821190a144
commit
162d7af46b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user