From 827a8bdf3f8a9d1830a09fad6def9902f534e08e Mon Sep 17 00:00:00 2001 From: Kirill Kirilenko Date: Fri, 29 Aug 2025 14:01:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D0=BA=D0=B5=20=D0=B4=D0=BD=D0=B5=D0=B9=20=D1=80=D0=BE?= =?UTF-8?q?=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 17f3e7b..a5f09ae 100644 --- a/tasks.py +++ b/tasks.py @@ -30,7 +30,7 @@ async def check_birthdays(api: API): if member.id < 0 or member.bdate is None: continue - user = database.DB.get_user(chat_id, member.id) + user = database.create_user_if_not_exists(chat_id, member.id) if user['happy_birthday'] == 0: continue