diff --git a/src/modules/birthday/index.ts b/src/modules/birthday/index.ts index bd04578..2a788a7 100644 --- a/src/modules/birthday/index.ts +++ b/src/modules/birthday/index.ts @@ -30,7 +30,7 @@ export default class extends Module { const today = `${zeroPadding(m + 1, 2)}-${zeroPadding(d, 2)}`; const birthFriends = this.ai.friends.find({ - 'user.profile.birthday': { '$regex': new RegExp('-' + today + '$') } + 'user.birthday': { '$regex': new RegExp('-' + today + '$') } } as any); birthFriends.forEach(f => {