Browse Source

Remove the use of ! in the Member.mention property

pull/7849/head
Alex Nørgaard 3 years ago
committed by GitHub
parent
commit
0263774e13
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/member.py

2
discord/member.py

@ -551,8 +551,6 @@ class Member(discord.abc.Messageable, _UserTag):
@property
def mention(self) -> str:
""":class:`str`: Returns a string that allows you to mention the member."""
if self.nick:
return f'<@!{self._user.id}>'
return f'<@{self._user.id}>'
@property

Loading…
Cancel
Save