Add Guild.nsfw_level
This commit is contained in:
22
docs/api.rst
22
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
|
||||
----------------
|
||||
|
||||
|
Reference in New Issue
Block a user