enhancement(lint): Fix lint errors for src/modules/bday.ts

Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2025-01-07 05:19:10 +00:00 committed by GitHub
parent d7709c7e46
commit 7d46395d1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,11 @@ export async function cronFunc(app: ModifiedApp) {
const today = new Date();
for (const [user, bday] of Object.entries(app.dbs.bday.JSON())) {
const date = new Date(bday);
console.debug(`bday: ${user}`, `${today.getDate()} == ${date.getDate()}`, `${today.getMonth()} == ${date.getMonth()}`);
console.debug(
`bday: ${user}`,
`${today.getDate()} == ${date.getDate()}`,
`${today.getMonth()} == ${date.getMonth()}`,
);
if (
date.getDate() == today.getDate() &&
date.getMonth() == today.getMonth()