From a7ae2eb1bb8ac9b995a236a31aba11118d08406a Mon Sep 17 00:00:00 2001 From: Nadir Chowdhury Date: Tue, 8 Jun 2021 04:20:04 +0100 Subject: Add Guild.nsfw_level --- docs/api.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs') 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 ---------------- -- cgit v1.2.3