aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index d06f1565..68b055f4 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -2197,6 +2197,28 @@ of :class:`enum.Enum`.
Alias for :attr:`.closed`
+.. class:: NSFWLevel
+
+ Represents the NSFW level of a guild.
+
+ .. versionadded:: 2.0
+
+ .. attribute:: default
+
+ The guild has not been categorised yet.
+
+ .. attribute:: explicit
+
+ The guild contains NSFW content.
+
+ .. attribute:: safe
+
+ The guild does not contain any NSFW content.
+
+ .. attribute:: age_restricted
+
+ The guild may contain NSFW content.
+
Async Iterator
----------------