diff options
| author | Nadir Chowdhury <[email protected]> | 2021-03-28 23:39:15 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-28 18:39:15 -0400 |
| commit | 4d4c19f9b5b5d7c463be33cbe44432050c5a0510 (patch) | |
| tree | 7053394c4002b0def8f298c9137cfeb5c5c765f8 | |
| parent | Add remove_markdown helper function (diff) | |
| download | discord.py-4d4c19f9b5b5d7c463be33cbe44432050c5a0510.tar.xz discord.py-4d4c19f9b5b5d7c463be33cbe44432050c5a0510.zip | |
deprecate User.relationships
| -rw-r--r-- | discord/user.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/user.py b/discord/user.py index ff60fb71..3cddf99c 100644 --- a/discord/user.py +++ b/discord/user.py @@ -768,6 +768,8 @@ class User(BaseUser, discord.abc.Messageable): def relationship(self): """Optional[:class:`Relationship`]: Returns the :class:`Relationship` with this user if applicable, ``None`` otherwise. + .. deprecated:: 1.7 + .. note:: This can only be used by non-bot accounts. |