From 4f1368b42a76b2c144ff0acb43e2874155088431 Mon Sep 17 00:00:00 2001 From: BobDotCom <71356958+BobDotCom@users.noreply.github.com> Date: Sun, 3 Apr 2022 21:45:26 -0500 Subject: [PATCH] Remove deprecated mention syntax --- discord/member.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/discord/member.py b/discord/member.py index 1f1f4f93f3..d8e56052a9 100644 --- a/discord/member.py +++ b/discord/member.py @@ -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