aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-02-23 08:36:37 +0000
committerGitHub <[email protected]>2021-02-23 03:36:37 -0500
commit427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed (patch)
treea19af8a9417958a732452c2cb31a2075f5e9ab97 /docs
parent[commands] Allow relative paths when handling extensions (diff)
downloaddiscord.py-427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed.tar.xz
discord.py-427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed.zip
Deprecate non-bot methods
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index dc016fba..05b08909 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -894,6 +894,8 @@ to handle it, which defaults to print a traceback and ignoring the exception.
Called when a :class:`Relationship` is added or removed from the
:class:`ClientUser`.
+ .. deprecated:: 1.7
+
:param relationship: The relationship that was added or removed.
:type relationship: :class:`Relationship`
@@ -902,6 +904,8 @@ to handle it, which defaults to print a traceback and ignoring the exception.
Called when a :class:`Relationship` is updated, e.g. when you
block a friend or a friendship is accepted.
+ .. deprecated:: 1.7
+
:param before: The previous relationship status.
:type before: :class:`Relationship`
:param after: The updated relationship status.
@@ -937,6 +941,8 @@ Profile
A namedtuple representing a user's Discord public profile.
+ .. deprecated:: 1.7
+
.. attribute:: user
The :class:`User` the profile belongs to.
@@ -1892,6 +1898,8 @@ of :class:`enum.Enum`.
Specifies the type of :class:`Relationship`.
+ .. deprecated:: 1.7
+
.. note::
This only applies to users, *not* bots.
@@ -1918,6 +1926,8 @@ of :class:`enum.Enum`.
Represents the options found in ``Settings > Privacy & Safety > Safe Direct Messaging``
in the Discord client.
+ .. deprecated:: 1.7
+
.. note::
This only applies to users, *not* bots.
@@ -1940,6 +1950,8 @@ of :class:`enum.Enum`.
Represents the options found in ``Settings > Privacy & Safety > Who Can Add You As A Friend``
in the Discord client.
+ .. deprecated:: 1.7
+
.. note::
This only applies to users, *not* bots.
@@ -1969,6 +1981,8 @@ of :class:`enum.Enum`.
Represents the user's Discord Nitro subscription type.
+ .. deprecated:: 1.7
+
.. note::
This only applies to users, *not* bots.
@@ -1986,6 +2000,8 @@ of :class:`enum.Enum`.
Represents the theme synced across all Discord clients.
+ .. deprecated:: 1.7
+
.. note::
This only applies to users, *not* bots.