1
0
Fork 0
mirror of synced 2024-05-03 04:02:28 +12:00

The entry in the result is no longer the member itself, it's an id....so get the member based on the id

This commit is contained in:
phxntxm 2019-01-29 00:17:56 -06:00
parent b64eedba6b
commit 2788083257

View file

@ -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