aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 6581cc97..09f5be77 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -633,6 +633,22 @@ All enumerations are subclasses of `enum`_.
An alias for :attr:`high`.
+.. class:: ContentFilter
+
+ Specifies a :class:`Guild`\'s explicit content filter, which is the machine
+ learning algorithms that Discord uses to detect if an image contains
+ pornography or otherwise explicit content.
+
+ .. attribute:: disabled
+
+ The guild does not have the content filter enabled.
+ .. attribute:: no_role
+
+ The guild has the content filter enabled for members without a role.
+ .. attribute:: all_members
+
+ The guild has the content filter enabled for every member.
+
.. class:: Status
Specifies a :class:`Member` 's status.