Add Guild.nsfw_level

This commit is contained in:
Nadir Chowdhury
2021-06-07 23:20:04 -04:00
committed by GitHub
parent dd727fb6f4
commit a7ae2eb1bb
4 changed files with 36 additions and 7 deletions
+22
View File
@@ -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
----------------