1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Use the name instead of mention, since mentions will sometimes break due to the member leaving the server

This commit is contained in:
Phxntxm 2017-06-29 14:50:12 -05:00
parent 3494066ae7
commit 120d95096f

View file

@ -105,7 +105,7 @@ class StatsUpdate:
channel = guild.get_channel(int(channel_id))
try:
await channel.send(leave_message.format(server=guild.name, member=member.mention))
await channel.send(leave_message.format(server=guild.name, member=member.name))
except (discord.Forbidden, discord.HTTPException):
pass