Use the name instead of mention, since mentions will sometimes break due to the member leaving the server
This commit is contained in:
parent
3494066ae7
commit
120d95096f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue