1
0
forked from sass/tipibot

Fix birthday bug

This commit is contained in:
Rene Arumetsa
2026-05-11 22:28:21 +03:00
parent b0a3dcb03b
commit 15e3121d55
3 changed files with 6 additions and 4 deletions

View File

@@ -236,7 +236,7 @@ def register_dev_member_commands(
else:
already_ok += 1
if result.birthday_soon and not has_announced_today(member.id):
if result.birthday_today and not has_announced_today(member.id):
birthday_pings += 1
await announce_birthday(member, bot)
mark_announced_today(member.id)

View File

@@ -88,6 +88,6 @@ async def handle_member_join(
log_sync_result(member, result)
await sheets.set_synced(member.id, result.synced)
if result.birthday_soon and not has_announced_today(member.id):
if result.birthday_today and not has_announced_today(member.id):
await announce_birthday(member, bot)
mark_announced_today(member.id)