We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcfca9 commit d85eaecCopy full SHA for d85eaec
mod.ts
@@ -15,7 +15,7 @@ import { DiscordClient } from "./discord.ts";
15
import { loadEnvConfig } from "./envConfig.ts";
16
import { GoogleCalendarClient } from "./gcal.ts";
17
18
-const A_WEEK = 1000 * 3600 * 24 * 7;
+const TWO_WEEKS = 1000 * 3600 * 24 * 7 * 2;
19
20
const envConfig = loadEnvConfig();
21
const discordClient = new DiscordClient(envConfig.discord);
@@ -24,7 +24,7 @@ const gCalClient = new GoogleCalendarClient(envConfig.googleCalendar);
24
const discordApplicationId = envConfig.discord.applicationId;
25
const syncDateRange = {
26
from: new Date(),
27
- to: new Date(Date.now() + A_WEEK),
+ to: new Date(Date.now() + TWO_WEEKS),
28
};
29
30
const calendarToDiscordEvent = (
0 commit comments