From 7cfe02cc5623b48f3030ce29bdeceb7506ad04b0 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Thu, 4 Oct 2018 12:56:13 -0500 Subject: [PATCH] Update to conform to new pendulum versions --- cogs/birthday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/birthday.py b/cogs/birthday.py index 42421c0..2255d30 100644 --- a/cogs/birthday.py +++ b/cogs/birthday.py @@ -104,7 +104,7 @@ class Birthday: day = parse_string(bd['birthday']) # tz = tzmap.get(server.region) # Check if it's today, and we want to only get todays birthdays - if (today and day.date() == pendulum.today().date()) or not today: + if (today and day == pendulum.today().date()) or not today: # If so, get the member and add them to the entry member = server.get_member(int(bd['member_id'])) _entries.append({