diff options
| author | Rapptz <[email protected]> | 2017-04-12 20:18:28 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-04-12 20:18:28 -0400 |
| commit | 728fae928563057785be34324b13a5f3ffc9b83e (patch) | |
| tree | d4a43cca62bf7b4d978ff55aa2d84da830312d5b /docs | |
| parent | Use create_future wrapper for initially created Future. (diff) | |
| download | discord.py-728fae928563057785be34324b13a5f3ffc9b83e.tar.xz discord.py-728fae928563057785be34324b13a5f3ffc9b83e.zip | |
Add Guild.explicit_content_filter.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 16 |
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. |