Add birthdays from database.
build_develop / build (push) Has been cancelled

This commit is contained in:
2023-09-09 13:48:22 -04:00
parent efadcb30c7
commit 7a91cd37ec
+1 -2
View File
@@ -97,5 +97,4 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
stmt = select(UserBirthday.UserId).where(UserBirthday.Birthday == birthday)
with Session(engine) as session:
to_add = session.scalars(stmt)
print(to_add)
# TODO add the birthdays to the list
birthday_list.extend(to_add.all())