Skip to content

Commit fa1dabc

Browse files
committed
fix: correct month check in Advent scheduler to ensure posts are created only in December
1 parent 79c128e commit fa1dabc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/advent-scheduler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async function checkAndCreateTodaysPost(client: Client, channelId: string): Prom
107107
const year = now.getUTCFullYear();
108108

109109
// Only run during December (month 11)
110-
if (month !== 10) {
110+
if (month !== 11) {
111111
return;
112112
}
113113

0 commit comments

Comments
 (0)