mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
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:
parent
d7709c7e46
commit
7d46395d1a
1 changed files with 5 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue