Add Guild.nsfw_level

This commit is contained in:
Nadir Chowdhury authored and GitHub committed 2021-06-07 23:20:04 -04:00
1 parent dd727fb6f4
commit a7ae2eb1bb
4 files changed
+36 -7

No files matched your search

+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
----------------