Skip to content

Commit

Permalink
Merge pull request #1228 from Pycord-Development/remove-deprecated-me…
Browse files Browse the repository at this point in the history
…ntion

Remove deprecated mention syntax
  • Loading branch information
BobDotCom authored Apr 4, 2022
2 parents e93ecca + 4f1368b commit 72a160e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions discord/member.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,6 @@ def roles(self) -> List[Role]:
@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
Expand Down

0 comments on commit 72a160e

Please sign in to comment.