deprecate User.relationships
This commit is contained in:
parent
31ee3fafc1
commit
4d4c19f9b5
@ -768,6 +768,8 @@ class User(BaseUser, discord.abc.Messageable):
|
|||||||
def relationship(self):
|
def relationship(self):
|
||||||
"""Optional[:class:`Relationship`]: Returns the :class:`Relationship` with this user if applicable, ``None`` otherwise.
|
"""Optional[:class:`Relationship`]: Returns the :class:`Relationship` with this user if applicable, ``None`` otherwise.
|
||||||
|
|
||||||
|
.. deprecated:: 1.7
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
This can only be used by non-bot accounts.
|
This can only be used by non-bot accounts.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user