Browse Source

deprecate User.relationships

pull/6587/head
Nadir Chowdhury 4 years ago
committed by GitHub
parent
commit
4d4c19f9b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/user.py

2
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.

Loading…
Cancel
Save