Browse Source
Remove the use of ! in the Member.mention property
pull/7849/head
Alex Nørgaard
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
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 |
|
|
|