Update to conform to new pendulum versions
This commit is contained in:
parent
bc63ed810c
commit
7cfe02cc56
|
@ -104,7 +104,7 @@ class Birthday:
|
||||||
day = parse_string(bd['birthday'])
|
day = parse_string(bd['birthday'])
|
||||||
# tz = tzmap.get(server.region)
|
# tz = tzmap.get(server.region)
|
||||||
# Check if it's today, and we want to only get todays birthdays
|
# 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
|
# If so, get the member and add them to the entry
|
||||||
member = server.get_member(int(bd['member_id']))
|
member = server.get_member(int(bd['member_id']))
|
||||||
_entries.append({
|
_entries.append({
|
||||||
|
|
Loading…
Reference in a new issue