forked from Fascinated/Bat
fix max reminder length
This commit is contained in:
parent
821190a144
commit
162d7af46b
@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
@DependsOn("discordService")
|
@DependsOn("discordService")
|
||||||
public class ReminderFeature extends Feature {
|
public class ReminderFeature extends Feature {
|
||||||
public static final int MAX_REMINDERS = 5; // 5 reminders
|
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;
|
private final GuildService guildService;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user