From 728fae928563057785be34324b13a5f3ffc9b83e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 12 Apr 2017 20:18:28 -0400 Subject: Add Guild.explicit_content_filter. --- docs/api.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/api.rst') 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. -- cgit v1.2.3