From 278808325713254d1f743f67b278dd5dc38ddf35 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Tue, 29 Jan 2019 00:17:56 -0600 Subject: [PATCH] The entry in the result is no longer the member itself, it's an id....so get the member based on the id --- cogs/birthday.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/birthday.py b/cogs/birthday.py index c1f90b4..7f6343f 100644 --- a/cogs/birthday.py +++ b/cogs/birthday.py @@ -127,7 +127,8 @@ AND # A list of the id's that will get updated for bd in bds: try: - await channel.send(f"It is {bd['member'].mention}'s birthday today! " + member = channel.get.get_member(bd["id"]) + await channel.send(f"It is {member.mention}'s birthday today! " "Wish them a happy birthday! \N{SHORTCAKE}") except (discord.Forbidden, discord.HTTPException): pass